aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr34060.C
blob: 8e0d321b2ac860b74a6e49e73eed26a9c53109c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/34060
// { dg-do compile }
// { dg-options "-std=c++0x" }

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;