Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/cond1.C

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