OSDN Git Service

* g++.old-deja/g++.other/init5.C: Remove xfail for powerpc-linux.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / linkage6.C
1 // { dg-do assemble  }
2 // { dg-options "-fno-weak" }
3 // Origin: Mark Mitchell <mark@codesourcery.com>
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