blob: c76aef05109f54a4b3a74f841d2ab3fdba486fca [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3/* This testcase causes a symbol table collision. Type names and variable
4 * names should be in distinct namespaces
5 */
6
7typedef struct foo {
8 int X, Y;
9} FOO;
10
11static FOO foo[100];
12
13int test() {
14 return foo[4].Y;
15}
16