]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/overload12.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / overload12.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/overload12.C b/gcc/testsuite/g++.old-deja/g++.pt/overload12.C
deleted file mode 100644 (file)
index bf37bb6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Testcase for not trying a candidate that would generate an ill-formed
-// instantiation.
-
-template <int N> struct A {
-  int ar[N];
-};
-
-template <int N> struct B {
-  B () { };
-  B (const A<N> &) { };
-  B (const A<N-1> &, int);
-};
-
-int
-main ()
-{
-  A<1> a;
-  B<1> b1;
-  B<1> b2 (a);
-}
-