aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/strong-using-2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/lookup/strong-using-2.C')
-rw-r--r--gcc/testsuite/g++.dg/lookup/strong-using-2.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/lookup/strong-using-2.C b/gcc/testsuite/g++.dg/lookup/strong-using-2.C
index 8d45e00e0e1..f8b5f64fbd2 100644
--- a/gcc/testsuite/g++.dg/lookup/strong-using-2.C
+++ b/gcc/testsuite/g++.dg/lookup/strong-using-2.C
@@ -3,10 +3,10 @@
// { dg-do compile }
namespace foo_impl {
- class T; // { dg-error "first declared" "" }
+ class T; // { dg-error "T" "" }
}
namespace bar_impl {
- class T; // { dg-error "also declared" "" }
+ class T; // { dg-error "T" "" }
}
namespace foo {
using namespace foo_impl __attribute__((strong));