Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp75.C
blob: 54e8bc7bb82649b1f03ba350b21ea9b41e489f4d [
file
] [
log
] [
blame
]
// { dg-do assemble }
void
print
(
const
int
&
i
)
{
}
template
<
class
A
>
class
bar
{
public
:
template
<
void
(*
B
)(
const
A
&
a
)>
void
doit
(
const
A
&
a
)
{
B
(
a
);
}
};
int
main
()
{
bar
<int>
b
;
b
.
doit
<print>
(
2
);
}