2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / linkage6.C
blob516a24267d0ffdc3c90eb504b746d0b6159e89b7
1 // { dg-do assemble  }
2 // { dg-options "-fno-weak" }
3 // Origin: Mark Mitchell <mark@codesourcery.com>
5 template <typename T>
6 void f ();
8 void h () { f<int> (); }
10 template <void (*X)()>
11 void g () {}
13 template <typename T>
14 void f ()
16    g<&f<T> >();