From: Alexandre Oliva Date: Sat, 31 Oct 1998 00:06:24 +0000 (+0000) Subject: spec24.C: ensure that template specializations start with template headers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f76f703ffdd97605f479327312f56e431aee6fa1;p=gcc.git spec24.C: ensure that template specializations start with template headers * g++.old-deja/g++.pt/spec24.C: ensure that template specializations start with template headers From-SVN: r23464 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2b0bf97e69d..e393c69daa0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +1998-10-31 Alexandre Oliva + + * g++.old-deja/g++.pt/spec24.C: ensure that template + specializations start with template headers + 1998-10-29 Alexandre Oliva * g++.old-deja/g++.other/dcast2.C: cannot dynamic downcast &x diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec24.C b/gcc/testsuite/g++.old-deja/g++.pt/spec24.C new file mode 100644 index 00000000000..2b7d336698f --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/spec24.C @@ -0,0 +1,5 @@ +// Build don't link: + +template class A; +// template <> +class A; // ERROR - missing template header - XFAIL *-*-*