OSDN Git Service

PR testsuite/25241
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.bugs / 900205_04.C
index d93181e..8d91db6 100644 (file)
 // implicitly-declared constructor is used, then it is implicitly
 // defined and found to be ill-formed.
 
-struct struct0 { // { dg-error "note" }
+struct struct0 { // { dg-message "note" }
   int data_member;
 
   struct0 (int, void *);       // suppresses implicit default constructor
 };
 
-struct0::struct0 (int, void *) // { dg-error "note" }
+struct0::struct0 (int, void *) // { dg-message "note" }
 {
 }
 
 struct struct0_derived_struct_0 : public struct0 { // { dg-error "no matching" }
 };
 
-struct0_derived_struct_0 object; // { dg-error "synthesized" }
+struct0_derived_struct_0 object; // { dg-message "synthesized" }
 
 int main () { return 0; }