Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
cond1.C
blob: 64cc728fc8fc0a1bc056bb57158ef366c6bb62b6 [
file
] [
log
] [
blame
]
// { dg-do link }
// Origin: Mark Mitchell <mark@codesourcery.com>
template
<
class
T
>
void
f
(
T
&)
;
template
<>
void
f
(
void
(&)())
{
}
void
g
()
{
}
void
h
()
{
}
bool
b
;
int
main
()
{
f
(
b
?
g
:
h
);
}