]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/spec10.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / spec10.C
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 (file)
index 5d53e2d..0000000
+++ /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();
-}