diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/lookup/using16.C')
-rw-r--r-- | gcc/testsuite/g++.dg/lookup/using16.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/lookup/using16.C b/gcc/testsuite/g++.dg/lookup/using16.C index a396afb973c..8a36504caf2 100644 --- a/gcc/testsuite/g++.dg/lookup/using16.C +++ b/gcc/testsuite/g++.dg/lookup/using16.C @@ -3,12 +3,12 @@ // { dg-do compile } namespace M { - struct S {}; // { dg-error "struct M::S" "candidate 1" } + struct S {}; // { dg-message "struct M::S" "candidate 1" } } namespace N { int S; - struct S {}; // { dg-error "struct N::S" "candidate 2" } + struct S {}; // { dg-message "struct N::S" "candidate 2" } } using namespace M; |