aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ns/template13.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/template13.C b/gcc/testsuite/g++.old-deja/g++.ns/template13.C
index 193451e..c1bca73 100644
--- a/gcc/testsuite/g++.old-deja/g++.ns/template13.C
+++ b/gcc/testsuite/g++.old-deja/g++.ns/template13.C
@@ -4,7 +4,7 @@ namespace bar
{
template<class T>
void foo(); // trick it to provide some prior declaration
- template<class T>class X;
+ template<class T>class X; // ERROR - previous declaration
}
template <typename T>
@@ -19,4 +19,4 @@ template<> void bar::foo<int>()
}
template<class T,class U>
-class bar::X{}; // ERROR - does not match declaration - XFAIL *-*-*
+class bar::X{}; // ERROR - does not match declaration