freebsd_amp_hwpstate/test/SemaTemplate/variadic-unsupported.cpp

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}}