17 lines · c
1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null2 3/* This testcase causes a symbol table collision. Type names and variable4 * names should be in distinct namespaces5 */6 7typedef struct foo {8 int X, Y;9} FOO;10 11static FOO foo[100];12 13int test(void) {14 return foo[4].Y;15}16 17