// 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; }