2010-01-01 10:34:51 +00:00
|
|
|
// RUN: %clang_cc1 -emit-llvm %s -o %t
|
2009-06-02 17:58:47 +00:00
|
|
|
|
2009-10-14 18:03:49 +00:00
|
|
|
void f() {
|
2009-06-02 17:58:47 +00:00
|
|
|
int a[2];
|
|
|
|
a[0] = 0;
|
|
|
|
}
|
|
|
|
|
2009-10-14 18:03:49 +00:00
|
|
|
void f2() {
|
2009-06-02 17:58:47 +00:00
|
|
|
int x = 0;
|
|
|
|
int y = 1;
|
|
|
|
int a[10] = { y, x, 2, 3};
|
|
|
|
int b[10] = { 2,4,x,6,y,8};
|
|
|
|
int c[5] = { 0,1,2,3};
|
|
|
|
}
|