blob: 0ae4e88777c70c277e44d88234a1d57f34e1fb37 [file] [log] [blame]
// PR c++/8143
// { dg-do compile }
struct foo
{
X x; // { dg-error "" }
foo(X) {} // { dg-error "" }
foo(X y, int) : x() {} // { dg-error "" }
};