]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/spec38.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / spec38.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec38.C b/gcc/testsuite/g++.old-deja/g++.pt/spec38.C
deleted file mode 100644 (file)
index a33be54..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Build don't link:
-// 
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 19 Jan 2001 <nathan@codesourcery.com>
-
-// Bug 1638. We failed to check if a function instantiation produced a void
-// parameter type.
-
-template <class T> struct S
-{
-  int f (T);    // ERROR - void type
-};
-
-void foo ()
-{
-  S<void> s;
-}