New test for appending linkage
[oota-llvm.git] / test / CFrontend / 2002-02-13-TypeVarNameCollision.c
1 /* This testcase causes a symbol table collision.  Type names and variable 
2  * names should be in distinct namespaces
3  */
4
5 typedef struct foo {
6         int X, Y;
7 } FOO;
8
9 static FOO foo[100];
10
11 int test() {
12         return foo[4].Y;
13 }
14