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