aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic149.C
blob: 8207d9832aecf086bd1c59e70ce985b0bc8e0c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/60248
// { dg-do compile { target c++11 } }
// { dg-options "-g -fabi-version=2" }

template<int...> struct A {};

template<> struct A<0>
{
  typedef enum { e } B;
};

A<0> a;