summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/name-clash4.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/lookup/name-clash4.C')
-rw-r--r--gcc/testsuite/g++.dg/lookup/name-clash4.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/lookup/name-clash4.C b/gcc/testsuite/g++.dg/lookup/name-clash4.C
index d6c6d97bbc1..490f7500ec6 100644
--- a/gcc/testsuite/g++.dg/lookup/name-clash4.C
+++ b/gcc/testsuite/g++.dg/lookup/name-clash4.C
@@ -9,4 +9,4 @@ struct A
template<int> struct A {}; // { dg-error "same name" }
};
-A::A<0> a; // { dg-error "not a template|invalid use of constructor" }
+A::A<0> a; // { dg-error "not a template|constructor" }