[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / array.c
blob91aa83394d20d56441a44997b61eb985d93b9a65
1 // RUN: %clang_cc1 -emit-llvm %s -o %t
3 void f(void) {
4 int a[2];
5 a[0] = 0;
8 void f2(void) {
9 int x = 0;
10 int y = 1;
11 int a[10] = { y, x, 2, 3};
12 int b[10] = { 2,4,x,6,y,8};
13 int c[5] = { 0,1,2,3};