[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / 2007-02-04-AddrLValue-2.c
blobbc44d1465f473514303091bac1b8c1fa0adebb24
1 // RUN: %clang_cc1 %s -O3 -emit-llvm -o -
2 // PR1173
4 struct S { char s; };
5 struct T { struct S t; };
7 struct S *const p = &((struct T * const) (0x4000))->t;
9 void
10 foo (void)
12 p->s = 0;