]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/explicit17.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit17.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit17.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit17.C
deleted file mode 100644 (file)
index 4abd17e..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// Build don't link:
-// GROUPS passed templates
-// Special g++ Options: -ansi -pedantic-errors -w
-template <class T, class U>
-void foo(U u, T t);
-
-template <class T>
-void foo(T t);
-
-template <class T>
-struct S {};
-
-template <class T>
-void foo(const S<T>&);
-
-void bar()
-{
-  void (*fn)(double, int) = 
-    (void (*)(double, int)) &foo<int>;
-  void (*fn2)(double) = foo<double>;
-  foo<int>(3, 3.0);
-  foo<int>(S<int>());
-}