aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/nsdmi-template3.C
blob: 8a6f913d215be4c445fe5f40dc613627984478ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR c++/58760
// { dg-do compile { target c++11 } }

enum en
{
  a,b,c
};
 
struct B
{
  template<en N>
  struct A
  {
    const int X = N;
  };
};