aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/scope1.C
blob: b017b0bdb9b617b010017e1e43842a6b4f7131be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR 8327

template <class T>
class X
{
  static const int a = 5;

  static T b[a];
};

template <class T> T X<T>::b[X::a];