diff options
author | Jeff Law <law@redhat.com> | 2011-11-30 05:16:36 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2011-11-30 05:16:36 +0000 |
commit | 7b5177cc9956a68a50825c443a6d396fdc1af2b5 (patch) | |
tree | a6b80dca8f72a2e7640e4d535901e42325b2a954 /gcc/testsuite/g++.old-deja/g++.other/anon7.C | |
parent | 6377b0d9b395f395e25bd4a030a9056171433061 (diff) | |
parent | ee4a734e5eece9824adc2a26e518c99bbdbe802e (diff) |
Weekly merge from trunk. No regressions.reload-v2a
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/reload-v2a@181834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/anon7.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/anon7.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/anon7.C b/gcc/testsuite/g++.old-deja/g++.other/anon7.C index ebc378005cd..6a951a97c62 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/anon7.C +++ b/gcc/testsuite/g++.old-deja/g++.other/anon7.C @@ -2,13 +2,13 @@ struct A { union { - int a; // { dg-error "" } conflicts with previous declaration + int a; // { dg-message "" } conflicts with previous declaration }; int a; // { dg-error "" } }; struct B { - int b; // { dg-error "" } conflicts with previous declaration + int b; // { dg-message "" } conflicts with previous declaration union { int b; // { dg-error "" } duplicate member }; @@ -16,7 +16,7 @@ struct B { struct C { union { - int c; // { dg-error "" } conflicts with previous declaration + int c; // { dg-message "" } conflicts with previous declaration }; union { int c; // { dg-error "" } duplicate member |