llvm-project/clang/test/CXX/temp/temp.decls/temp.class.spec/p8-0x.cpp

9 lines
257 B
C++
Raw Normal View History

// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
template<int ...Values> struct X1;
template<int ...Values>
struct X1<0, Values+1 ...>; // expected-error{{non-type template argument depends on a template parameter of the partial specialization}}