summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/array-init.c
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-05-19 20:29:35 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-05-19 20:29:35 +0000
commita68c3006f4792bd56e06a164d4f77f161edd0a4a (patch)
treeef8d5f498b9e7e95a8b0af7c95bb701fbcf35dd1 /clang/test/Sema/array-init.c
parentba9acbe6dcf2a599093a1e414bb9d66675e0ecfd (diff)
downloadbcm5719-llvm-a68c3006f4792bd56e06a164d4f77f161edd0a4a.tar.gz
bcm5719-llvm-a68c3006f4792bd56e06a164d4f77f161edd0a4a.zip
Switch on SemaInit; this makes some code in SemaDecl dead, but I'll give
it a few days to make sure there aren't any significant regressions. llvm-svn: 51273
Diffstat (limited to 'clang/test/Sema/array-init.c')
-rw-r--r--clang/test/Sema/array-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/array-init.c b/clang/test/Sema/array-init.c
index 56be42c695f..2ddd2459351 100644
--- a/clang/test/Sema/array-init.c
+++ b/clang/test/Sema/array-init.c
@@ -205,6 +205,6 @@ struct bittest{int : 31, a, :21, :12, b;};
struct bittest bittestvar = {1, 2, 3, 4}; //expected-warning{{excess elements in array initializer}}
// Not completely sure what should happen here...
-int u1 = {}; //expected-warning{{use of GNU empty initializer extension}} expected-warning{{braces around scalar initializer}}
-int u2 = {{3}}; //expected-warning{{braces around scalar initializer}}
+int u1 = {}; //expected-warning{{use of GNU empty initializer extension}} expected-error{{scalar initializer cannot be empty}}
+int u2 = {{3}}; //expected-error{{too many braces around scalar initializer}}
OpenPOWER on IntegriCloud