Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.old-deja
/
g++.jason
/
overload20.C
blob: 453be520048d744c538928240157a14c8098d4b5 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: this code causes an internal compiler error 4.
void
f
(
char
*);
void
f
(
int
);
struct
A
{
void
f
();
void
f
(
int
);
void
g
()
{
void
(*
p
)(
char
*)
=
f
;
// { dg-error "cannot initialize" }
}
};