]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/explarg1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explarg1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explarg1.C b/gcc/testsuite/g++.old-deja/g++.pt/explarg1.C
deleted file mode 100644 (file)
index 4a1c66b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Bug: g++ generates an error trying to generate the first foo<int>, when
-// it should silently fail and go on to the next one.
-
-template<class T, typename U> class A { };
-
-template<class T> void
-foo(const A<T,typename T::N>&);
-
-template<typename T>
-class B { };
-
-template<typename T> void
-foo(B<T> const &) { }
-
-int
-main(void)
-{
-  B<int> sa;
-
-  foo<int> (sa);
-}