1 // PR c++/52915 2 3 struct S { 4 int val; SS5 S(int v) : val(v) {} 6 }; 7 f()8 void f() { 9 union { S a; }; // { dg-error "constructor|no match" } 10 } 11