Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload4.C
blob: 3dcb39704d7e056d0c41cc9e4f91626473936213 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
T
>
void
foo
(
T
);
template
<
class
T
>
void
bar
(
void
(*)(
T
),
T
);
void
baz
()
{
bar
<int>
(
foo
,
1
);
bar
(
foo
<int>
,
1
);
bar
<int>
(
foo
<int>
,
1
);
bar
(
foo
,
1
);
}