new
authorJason Merrill <jason@gcc.gnu.org>
Thu, 25 Feb 1999 10:49:39 +0000 (05:49 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Feb 1999 10:49:39 +0000 (05:49 -0500)
From-SVN: r25434

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

index fc88afa92d370bbd000f94a9a1979d081c95b122..f6feefb56082b4da3f98443af60795195e6d82b8 100644 (file)
@@ -1,4 +1,4 @@
 // Build don't link:
 
 template <>
-enum E {e}; // ERROR - template declaration of enum XFAIL *-*-*
+enum E {e}; // ERROR - template declaration of enum
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec31.C b/gcc/testsuite/g++.old-deja/g++.pt/spec31.C
new file mode 100644 (file)
index 0000000..a66e03f
--- /dev/null
@@ -0,0 +1,2 @@
+template <> struct A {};       // ERROR - not a specialization
+template <> void f ();         // ERROR - not a specialization