]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/unify2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / unify2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/unify2.C b/gcc/testsuite/g++.old-deja/g++.pt/unify2.C
deleted file mode 100644 (file)
index 89b043d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Build don't link:
-
-template <class T>
-struct S
-{
-  typedef T S_Type;
-};
-
-
-template <class T>
-void foo(typename S<T>::S_Type)
-{
-}
-
-
-template <class T>
-void foo(T)
-{
-}
-
-
-struct S2 {};
-
-void bar()
-{
-  foo(S2()); // We can't unify with the first foo, so we get the second.
-}