Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
net.C
blob: be8b962ad80576e8ed25b6ab9e7f83401b9b4caa [
file
] [
log
] [
blame
]
// Bug: g++ doesn't instantiate function templates in instantiate_type.
// Build don't link:
template
<
class
T
>
void
fn
(
T t
)
{
}
template
<
class
T
>
struct
A
{
void
(*
p
)(
T
);
A
()
{
p
=
fn
;
}
};
A
<int>
a
;