]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.robertl/eb125.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb125.C
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C
deleted file mode 100644 (file)
index aff6ae6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// This is a crash test; we don't care how many normal errors we get.
-// excess errors test - XFAIL *-*-*
-
-struct test_box
-    {
-     void print(void);
-    };
-
-void test<class BOX> (test_box *);   // ERROR - illegal code
-
-class test_square
-    {
-      friend void test<class BOX> (test_box *); // ERROR - does not match
-    }
-
-
-
-template <class BOX> void test(BOX *the_box)  // ERROR - semicolon missing
-    {
-    the_box->print();
-    };
-
-template void test<> (test_box *);