]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaTemplate/variadic-class-template-1.cpp
Update clang to r94309.
[FreeBSD/FreeBSD.git] / test / SemaTemplate / variadic-class-template-1.cpp
1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
2
3 template<typename ... Args = int> struct S1 { }; // expected-error{{template parameter pack cannot have a default argument}}
4 template<typename ... Args, typename T> struct S2 { }; // expected-error{{template parameter pack must be the last template parameter}}