aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/spec19.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/spec19.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/spec19.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec19.C b/gcc/testsuite/g++.old-deja/g++.pt/spec19.C
index f9b601125b4..911c6933da4 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/spec19.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/spec19.C
@@ -1,5 +1,5 @@
// Build don't link:
template<class T> T f(T o) { return o; }
-template<> int f(int o) { return o; } // ERROR - after specialization
-template int f(int); // ERROR - explicit instantiation
+template<> int f(int o) { return o; }
+template int f(int);