hanchenye-llvm-project/clang/test/SemaTemplate/variadic-unsupported.cpp

6 lines
174 B
C++

// RUN: clang-cc -fsyntax-only -verify %s
// Type parameter packs.
template <typename ... > struct T1 {}; // expected-error{{variadic templates are only allowed in C++0x}}