Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // { dg-options "-fno-weak" }
3 // Origin: Mark Mitchell <[email protected]>
4
5 template <typename T>
6 void f ();
7
8 void h () { f<int> (); }
9
10 template <void (*X)()>
11 void g () {}
12
13 template <typename T>
14 void f ()
15 {
16 g<&f<T> >();
17 }
18