blob: 7dd53ae26305469e1821c82c0e90fc17fc97b8b7 [file] [log] [blame]
/* PR c++/38646 */
/* { dg-do compile { target c++11 } } */
template<int...> struct A;
template<int... N> struct A<N..., N...> /* { dg-error "must be at the end" } */
{
template<typename> struct B;
template<typename T> struct B<T*> {};
};