15 lines · c
1// RUN: %clang_cc1 -emit-llvm %s -o %t2 3void f(void) {4 int a[2];5 a[0] = 0;6}7 8void 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};14}15 1// RUN: %clang_cc1 -emit-llvm %s -o %t2 3void f(void) {4 int a[2];5 a[0] = 0;6}7 8void 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};14}15