diff options
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 |