]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/error2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / error2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/error2.C b/gcc/testsuite/g++.old-deja/g++.pt/error2.C
deleted file mode 100644 (file)
index 21518aa..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Build don't link:
-// Origin: Carl Nygard <cnygard@bellatlantic.net>
-
-template <class RT>
-class Test { // ERROR - in instantiation
-public:
-  Test(const RT& c = RT()) {} // ERROR - reference to void
-};
-
-void f ()
-{
-  Test<void> c; // ERROR - instantiated from here
-}
-
-