OSDN Git Service

* gcc.dg/tm/memopt-6.c: Cleanup tmedge tree dump.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / ptrmem6.C
index 0d7dec2..21475c6 100644 (file)
@@ -4,7 +4,7 @@ void g(int S::**);
 
 template <typename T>
 void f (int T::* volatile *p) {
-  g(p); // { dg-error "" }
+  g(p); // { dg-error "conversion" }
 }
 
-template void f(int S::* volatile *); // { dg-error "instantiated" }
+template void f(int S::* volatile *); // { dg-message "required" }