Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error45.C
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" }
};