1// { dg-do compile  }
2// { dg-prune-output "mangled name" }
3// Contributed by: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
4int i;
5
6template <void (&FN)()>
7struct g {
8  void foo(void) {
9    FN ();
10  }
11};
12
13void h ()
14{
15  i = 7;
16}
17
18template struct g<h>;
19
20