Debian Codegraph @

clang/test/CodeGen/array.c

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