commit | 8717417b3b2cf7a8542304cc10ce0241689e1a92 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri Oct 26 17:44:44 2007 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri Oct 26 17:44:44 2007 +0000 |
tree | 814fd58e7aba400c634e7c440d9a9f73c2e83eba | |
parent | d78a3e555592ce5315e7f75c1cc95e2d06af1e5f [diff] [blame] |
Codegen array initializers. llvm-svn: 43385
diff --git a/clang/test/CodeGen/array.c b/clang/test/CodeGen/array.c index dfbd10d..58efce7 100644 --- a/clang/test/CodeGen/array.c +++ b/clang/test/CodeGen/array.c
@@ -4,3 +4,11 @@ int a[2]; a[0] = 0; } + +int f2() { + 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}; +}