aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/spec9.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/spec9.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/spec9.C21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec9.C b/gcc/testsuite/g++.old-deja/g++.pt/spec9.C
deleted file mode 100644
index e2a220819a1..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/spec9.C
+++ /dev/null
@@ -1,21 +0,0 @@
-extern "C" void abort();
-
-template <class T>
-inline int f(T t)
-{
- return 0;
-}
-
-int main()
-{
- if (!f(3))
- abort();
-}
-
-template <>
-int f(int i)
-{ // ERROR - specialization of f<int>(int) after instantiation
- return 1;
-}
-
-