[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / 2002-02-13-TypeVarNameCollision.c
blob560b1d8566b4dc5ac1096b32803aea4a85eae1f3
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 /* This testcase causes a symbol table collision. Type names and variable
4 * names should be in distinct namespaces
5 */
7 typedef struct foo {
8 int X, Y;
9 } FOO;
11 static FOO foo[100];
13 int test(void) {
14 return foo[4].Y;