OSDN Git Service

2009-07-28 Jan Beulich <jbeulich@novell.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / special.C
index 9f6202e..29565d5 100644 (file)
@@ -1,6 +1,7 @@
+// { dg-do assemble  }
 // Make sure that forward declarations of specializations work...
 
 template <class T> class A { };
-class A<int>;
-A<int> a;                      // ERROR - incomplete type
-class A<int> { };
+template <> class A<int>;
+A<int> a;                      // { dg-error "" } incomplete type
+template <> class A<int> { };