]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/partial4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / partial4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/partial4.C b/gcc/testsuite/g++.old-deja/g++.pt/partial4.C
deleted file mode 100644 (file)
index 3956a0c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Build don't link:
-// Origin: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
-
-// Bug 29.  We failed to verify that template argument deduction
-// produces a valid result in nondeduce context.
-
-template<class T> struct Y { typedef T X; };
-
-template<class T, class U> struct Base {};
-
-template<class T> struct Base<T, typename T::X> {};
-
-template<class T> struct Base<typename T::X, T> {};
-
-template<class T, class U> struct Derived : Base <T, U> {};
-
-struct A {};
-
-template<class T> struct Derived<A, T> : Base< Y<T>, Y<T> > {};
-
-int main()
-{
-  Derived<A, int> d;
-}