summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/variadic-unsupported.cpp
blob: 9f2b0807d2d6b8ee74bfd4a3b5e929ab77c70e4c (plain)
1
2
3
4
5
// RUN: %clang_cc1 -fsyntax-only -verify %s

// Type parameter packs.
template <typename ... > struct T1 {}; // expected-error{{variadic templates are only allowed in C++0x}}