diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.robertl/eb125.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb125.C | 23 |
1 files changed, 0 insertions, 23 deletions
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 index aff6ae61007..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C +++ /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 *); |