☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
cond1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/cond1.C
code
plain
raw
1
// { dg-do link }
2
// Origin: Mark Mitchell <
[email protected]
>
3
4
template <class T>
5
void f (T&) ;
6
7
template <>
8
void f (void (&)())
9
{
10
}
11
12
void g ()
13
{
14
}
15
16
void h ()
17
{
18
}
19
20
bool b;
21
22
int main ()
23
{
24
f (b ? g : h);
25
}
26