diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-09 17:05:13 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-09 17:05:13 +0000 |
commit | e039b9bd7200380432730a4ca6197ec0fd6c5b2b (patch) | |
tree | f35a2ad5604da07512dcba9866dd7996f615e4dd /gcc | |
parent | 983bd96f4b6f26eae4b5e7b0aeaf012ef8c03e71 (diff) | |
download | gcc-e039b9bd7200380432730a4ca6197ec0fd6c5b2b.tar.gz |
2005-03-09 Paolo Carlini <pcarlini@suse.de>
PR c++/16859
* g++.dg/init/brace4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96195 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/init/brace4.C | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 46a7e7c7674..8e35721e521 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-03-09 Paolo Carlini <pcarlini@suse.de> + + PR c++/16859 + * g++.dg/init/brace4.C: New test. + 2005-03-09 Nathan Sidwell <nathan@codesourcery.com> PR c++/20186 diff --git a/gcc/testsuite/g++.dg/init/brace4.C b/gcc/testsuite/g++.dg/init/brace4.C new file mode 100644 index 00000000000..0c379019342 --- /dev/null +++ b/gcc/testsuite/g++.dg/init/brace4.C @@ -0,0 +1,5 @@ +// PR c++/16859 +// { dg-do compile } +// { dg-options "-pedantic" } + +int a[] = { }; // { dg-error "zero-size array" } |