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