summaryrefslogtreecommitdiff
path: root/clang/test/CXX/temp/temp.decls/temp.class.spec/p8-0x.cpp
blob: aa1e2d443fddb4fe4e396b09dbd22dae54f55f61 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -std=c++11 -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}}