p8-0x.cpp revision bacb9493770ff19cfd8f7bc46a075f14b4d08159
1// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
2
3template<int ...Values> struct X1;
4
5template<int ...Values>
6struct X1<0, Values+1 ...>; // expected-error{{non-type template argument depends on a template parameter of the partial specialization}}
7
8
9