Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / g++.old-deja / g++.jason / overload20.C
index f5db6a2..ef8504b 100644 (file)
@@ -4,8 +4,8 @@
 void f (char *);
 void f (int);
 struct A {
-  void f ();                   // { dg-error "" } candidate
-  void f (int);                        // { dg-error "" } candidate
+  void f ();                   // { dg-message "" } candidate
+  void f (int);                        // { dg-message "" } candidate
   void g () {
     void (*p)(char *) = f;     // { dg-error "" } no matching function in scope
   }