spec24.C: ensure that template specializations start with template headers
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sat, 31 Oct 1998 00:06:24 +0000 (00:06 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Sat, 31 Oct 1998 00:06:24 +0000 (00:06 +0000)
* g++.old-deja/g++.pt/spec24.C: ensure that template
specializations start with template headers

From-SVN: r23464

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/spec24.C [new file with mode: 0644]

index 2b0bf97..e393c69 100644 (file)
@@ -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 (file)
index 0000000..2b7d336
--- /dev/null
@@ -0,0 +1,5 @@
+// Build don't link:
+
+template <class T> class A;
+// template <>
+class A<int>; // ERROR - missing template header - XFAIL *-*-*