blob: 31bb74fa99c3d6c66814966ffd3f392ad1f99505 [file] [log] [blame]
// PR c++/52915
struct S {
int val;
S(int v) : val(v) {}
};
void f() {
union { S a; }; // { dg-error "constructor|no match" }
}