[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / 2007-09-05-ConstCtor.c
blobc19f391993da4efbcad5e55f87e8259374b95884
1 // RUN: %clang_cc1 -Os -emit-llvm %s -o /dev/null
2 // PR1641
4 struct A {
5 unsigned long l;
6 };
8 void bar(struct A *a);
10 void bork(void) {
11 const unsigned long vcgt = 1234;
12 struct A a = { vcgt };
13 bar(&a);