OSDN Git Service

PR testsuite/25241
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / typename4.C
index add9515..18cdd1a 100644 (file)
@@ -1,3 +1,3 @@
 struct B { template <typename U> struct C; };
-template <typename T> struct A { typedef typename T::C V; }; // { dg-error "" }
-void f () { A<B>::V p; } // { dg-error "" }
+template <typename T> struct A { typedef typename T::C V; }; // { dg-error "not a type" }
+void f () { A<B>::V p; } // { dg-message "instantiated" }