aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/spec10.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/spec10.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/spec10.C27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec10.C b/gcc/testsuite/g++.old-deja/g++.pt/spec10.C
deleted file mode 100644
index 5d53e2d76b1..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/spec10.C
+++ /dev/null
@@ -1,27 +0,0 @@
-extern "C" void abort();
-
-template <class T>
-struct S
-{
- template <int i>
- int f(int j) { abort(); return 0; }
-};
-
-template <>
-template <>
-int S<double>::f<7>(int j) { return j + 7; }
-
-template <>
-template <>
-int S<double>::f<8>(int j) { return j + 8; }
-
-int main()
-{
- S<double> s;
-
- if (s.template f<7>(3) != 10)
- abort();
-
- if (s.template f<8>(3) != 11)
- abort();
-}