Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
linkage6.C
blob: 516a24267d0ffdc3c90eb504b746d0b6159e89b7 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-fno-weak" }
// Origin: Mark Mitchell <mark@codesourcery.com>
template
<
typename
T
>
void
f
();
void
h
()
{
f
<int>
();
}
template
<
void
(*
X
)()>
void
g
()
{}
template
<
typename
T
>
void
f
()
{
g
<&
f
<
T
>
>();
}