aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/access24.C
blob: 9f192266ec7c251bab895c0f70e21e4768f63d3a (plain)
1
2
3
4
5
6
7
8
// PR c++/54437

template <void (*P)()> void f();
class A {
  template <class T> static void g();
  template <class T> static void h () { f<g<T> >(); }
  static void i() { h<int>(); }
};