blob: a4fd4854eb20ffb16ac2035e3a45e72a5a59d777 [file] [log] [blame]
// { dg-do compile }
struct S
{
void f () {} // { dg-message "previous" }
int f () { return 0; } // { dg-error "overloaded" }
};