Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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" }
};