Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
pr84970.C
blob: ad02248d75fa4b69c15c48a0d322811731a4b21d [
file
] [
log
] [
blame
]
// PR c++/84970 ICE with deferred initializer
namespace
bob
{
void
a
();
}
using
namespace
bob
;
void
a
(
int
);
template
<
typename
b
>
void
*
x
(
b
)
{
void
(*
c
)(
b
)
(
a
);
return
(
void
*)
c
;
}
void
d
()
{
x
(
1
);
}