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

struct B
{
  template<int N, int M>
  struct A;

  template<int M>
  struct A<1, M>
  {
    int X = M;
  };
};