Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
pr83287.C
blob: 305407bf5e2147d0578afcf4c3fd72e35d706470 [
file
] [
log
] [
blame
]
// PR c++/83287 failed to keep lookup until instantiation time
void
foo
();
namespace
{
void
foo
(
int
);
}
template
<
class
T
>
void
bar
()
{
T
(*
p
)()
=
(
T
(*)(
void
))
foo
;
}
void
baz
()
{
bar
<void>
();
}