diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2010-08-14 03:14:53 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2010-08-14 03:14:53 +0000 |
commit | 09865a903affa9c08687859d8de65470064c7bc2 (patch) | |
tree | 97d1a9f9a44fb640b91abc1e07de1e125334a966 /test/Sema/array-init.c | |
parent | 23bc11ff1874f8875426c9a8a29fe1e6894c3503 (diff) |
PR3344: Downgrade "too many braces around scalar initializer" to a warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/array-init.c')
-rw-r--r-- | test/Sema/array-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/array-init.c b/test/Sema/array-init.c index c042943516..0ee22c0f19 100644 --- a/test/Sema/array-init.c +++ b/test/Sema/array-init.c @@ -210,7 +210,7 @@ struct bittest bittestvar = {1, 2, 3, 4}; //expected-warning{{excess elements in // Not completely sure what should happen here... 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}} +int u2 = {{3}}; //expected-warning{{too many braces around scalar initializer}} // PR2362 void varArray() { |