summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/arg4.C
blob: 9c9d9ea96c37bcadbf25778b1f3d4af11a9947ac (plain)
1
2
3
4
5
6
7
8
9
// PR c++/23437

template <void (*p)()> struct S {
  static const int i = 10;
};

void g();

int a[S<g>::i];