summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/static8.C
blob: f8229fd827e4684bc7c519face82b7994d34f417 (plain)
1
2
3
4
5
6
7
8
// PR c++/17585

template <void (*p)(void)> struct S03 {};
class C03 {
public:
  static void f(void) {}
  void g(void) { S03<&f> s03; }
};