OSDN Git Service

* g++.old-deja/g++.pt/spec24.C: ensure that template
authoroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Oct 1998 00:06:24 +0000 (00:06 +0000)
committeroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Oct 1998 00:06:24 +0000 (00:06 +0000)
specializations start with template headers

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23464 138bc75d-0d04-0410-961f-82ee72b054a4

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 *-*-*