OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / access7.C
index 92d4c68..bd38e4e 100644 (file)
@@ -14,5 +14,5 @@ typename A::T* f (A) {                        // { dg-error "this context" }
 }
 
 void g () {
-  f (S<int> ());                       // { dg-error "context|instantiated" }
+  f (S<int> ());                       // { dg-message "required" }
 }