diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.oliva/template6.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.oliva/template6.C | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template6.C b/gcc/testsuite/g++.old-deja/g++.oliva/template6.C index f31d677afb0..270d67695f6 100644 --- a/gcc/testsuite/g++.old-deja/g++.oliva/template6.C +++ b/gcc/testsuite/g++.old-deja/g++.oliva/template6.C @@ -6,4 +6,7 @@ // simplified from bug report by Meenaradchagan Vishnu <mvishnu@fore.com> template <typename> struct foo {}; -template <> void foo(); // { dg-error "" } bad specialization +template <> void foo(); // { dg-error "not a template function" } bad specialization + +struct baz {}; +template <> void baz (); // { dg-error "not a template function" } bad specialization |