aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/temp/temp.decls/temp.class.spec/p8-0x.cpp
blob: 14152cf339a8620736b2ecf4fa9b6d062188c84f (plain) (blame)
1
2
3
4
5
6
7
8
// 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}}