summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-22 07:18:33 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-22 07:18:33 +0000
commit5115372146c7762b67b0c30b01906d3fe6dad0c3 (patch)
tree4b5d0ea58d499c4b232c97da3fe08e4bad5182b5 /gcc/testsuite/g++.dg/init
parenta8761b59fd725a476ce823908fa43b62367e02d3 (diff)
downloadgcc-5115372146c7762b67b0c30b01906d3fe6dad0c3.tar.gz
2010-11-22 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167021 2010-11-22 Basile Starynkevitch <basile@starynkevitch.net> * melt-runtime.c: replaced strerror by xstrerror everywhere, while merging with trunk 167021. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/init')
-rw-r--r--gcc/testsuite/g++.dg/init/error1.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/init/error1.C b/gcc/testsuite/g++.dg/init/error1.C
index dd12e4cca43..bdd983f9665 100644
--- a/gcc/testsuite/g++.dg/init/error1.C
+++ b/gcc/testsuite/g++.dg/init/error1.C
@@ -2,6 +2,6 @@
struct A {
static float b[10];
-}
+} // { dg-error "after struct definition" }
-float A::b[] = {1,2,3}; // { dg-error "" }
+float A::b[] = {1,2,3};