rt_gccstream/gcc/testsuite/g++.dg/cpp0x/pr34060.C

12 lines
237 B
C

// 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;