blob: 2da0b4f9978eff1e9a92e55ad05fb365a0fd67d5 [file] [log] [blame]
// { dg-do assemble }
struct S {
S(int); // { dg-message "previous" }
S(int); // { dg-error "overloaded" } already declared
~S();// { dg-message "previous" }
~S(); // { dg-error "overloaded" } already declared
};