aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@dcc.unicamp.br>1998-10-31 00:06:24 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1998-10-31 00:06:24 +0000
commitf76f703ffdd97605f479327312f56e431aee6fa1 (patch)
tree3f8440013453c33fbd9a35c8306d5d9b00b210c5
parent5585c1bc800ea2d5356fe5b9421923d0cbd1fd0a (diff)
downloadgcc-f76f703ffdd97605f479327312f56e431aee6fa1.zip
gcc-f76f703ffdd97605f479327312f56e431aee6fa1.tar.gz
gcc-f76f703ffdd97605f479327312f56e431aee6fa1.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/spec24.C5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2b0bf97..e393c69 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * g++.old-deja/g++.pt/spec24.C: ensure that template
+ specializations start with template headers
+
1998-10-29 Alexandre Oliva <oliva@dcc.unicamp.br>
* 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 0000000..2b7d336
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.pt/spec24.C
@@ -0,0 +1,5 @@
+// Build don't link:
+
+template <class T> class A;
+// template <>
+class A<int>; // ERROR - missing template header - XFAIL *-*-*