blob: 7df8b13f469e93ca63480b87e10cc4b819d6c236 [file] [log] [blame]
// PR c++/51429
// { dg-do compile }
struct A
{
void foo (double);
void foo (int);
A () { foo = 0; } // { dg-error "invalid use of member function" }
};