freebsd-nq/test/SemaTemplate/variadic-unsupported.cpp
2010-01-01 10:34:51 +00:00

6 lines
176 B
C++

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