aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr34060.C
blob: f485346e71f56ec0b1e97dd11281eaeaa4d5ca83 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/34060
// { dg-do compile { target c++11 } }

template <int> struct A
{
  template <typename... > struct B {};
  template <typename... T> struct B <int, T *> {}; // { dg-error "not expanded|T" }
};

A<0>::B<int>b;