From-SVN: r25434
This commit is contained in:
Jason Merrill 1999-02-25 05:49:39 -05:00
parent a7d308f7c4
commit bd50553864
2 changed files with 3 additions and 1 deletions

View 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

View File

@ -0,0 +1,2 @@
template <> struct A {}; // ERROR - not a specialization
template <> void f (); // ERROR - not a specialization