Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit4.C
blob: f7e19d201e11b87ff860fc8311500faf37512fae [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed templates
template
<
class
T
>
void
foo
(
T t
);
template
<
class
T
>
struct
S
{};
template
<
class
T
>
void
bar
(
T t
)
{
void
(*
f
)(
S
<
T
>
)
=
&
foo
<
S
<
T
>
>;
}
void
baz
()
{
bar
(
3
);
}