summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2008-02-19 19:27:31 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2008-02-19 19:27:31 +0000
commite2162c65498bd9e0403222da199737fb6acad610 (patch)
treebba93ce373b3f717ecbb62faa87a1a385865bcc6 /clang/test
parent9fd2531b5ecb5a2e84ef3501d9412d32e10e1177 (diff)
downloadbcm5719-llvm-e2162c65498bd9e0403222da199737fb6acad610.tar.gz
bcm5719-llvm-e2162c65498bd9e0403222da199737fb6acad610.zip
Simplify aggregate initilizer implementation. Use the CodeGenModule::EmitConstantExpr method when
possible. Fix mediabench/mpeg2/mpeg2dec test. llvm-svn: 47336
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGen/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGen/init.c b/clang/test/CodeGen/init.c
index f773b8b8dde..fd0735b69ef 100644
--- a/clang/test/CodeGen/init.c
+++ b/clang/test/CodeGen/init.c
@@ -11,4 +11,5 @@ void f2() {
int *c[2] = { &a[1][1], &b[2][2] };
int *d[2][2] = { {&a[1][1], &b[2][2]}, {&a[0][0], &b[1][1]} };
int *e[3][3] = { {&a[1][1], &b[2][2]}, {&a[0][0], &b[1][1]} };
+ char ext[3][3] = {".Y",".U",".V"};
}
OpenPOWER on IntegriCloud