summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/constant7.C
blob: c54ad55c1f058de1b5fc1f67ec4f4268ec3d98b9 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/19991
 
enum { e = 1 };

template<typename> struct A
{
  static const int i = e;
  char a[i];
};