2009-06-13 06:30:13 +08:00
|
|
|
// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
|
|
|
|
|
2009-06-13 07:20:15 +08:00
|
|
|
template<typename ... Args = int> struct S1 { }; // expected-error{{template parameter pack cannot have a default argument}}
|
|
|
|
template<typename ... Args, typename T> struct S2 { }; // expected-error{{template parameter pack must be the last template parameter}}
|