From f76f703ffdd97605f479327312f56e431aee6fa1 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sat, 31 Oct 1998 00:06:24 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.old-deja/g++.pt/spec24.C | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.pt/spec24.C 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 *-*-*