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