]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/unify7.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / unify7.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/unify7.C b/gcc/testsuite/g++.old-deja/g++.pt/unify7.C
deleted file mode 100644 (file)
index 6afb823..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Build don't link:
-
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 26 Feb 2000 <nathan@codesourcery.com>
-
-// template functions can be distinguished by return type alone. The return
-// type may also be a template parameter. 
-
-template <typename C> C foo ();    // gets bogus error
-
-void g ()
-{
-  int (*pfn1) () = &foo;    // gets bogus error
-  void (*pfn2) () = &foo;   // gets bogus error
-}