8 void test<class BOX> (test_box *); // { dg-error "" } illegal code
12 friend void test<class BOX> (test_box *); // { dg-error "" } does not match
17 template <class BOX> void test(BOX *the_box) // { dg-error "" } semicolon missing
22 template void test<> (test_box *); // { dg-error "" }