Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload20.C
blob: 998f6a7466cde15c43cf4bfdbccc0c8cebb720ad [
file
] [
log
] [
blame
]
// Bug: this code causes an internal compiler error 4.
void
f
(
char
*);
void
f
(
int
);
struct
A
{
void
f
();
// ERROR - candidate
void
f
(
int
);
// ERROR - candidate
void
g
()
{
void
(*
p
)(
char
*)
=
f
;
// ERROR - no matching function in scope
}
};