blob: d8e07b83e1be4d5534038bc177b9cec9b4b4b4dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
// -- The argument list of the specialization shall not be identical
// to the implicit argument list of the primary template.
template<typename T, typename ...Types>
struct X1;
template<typename T, typename ...Types>
struct X1<T, Types...> // expected-error{{class template partial specialization does not specialize any template argument; to define the primary template, remove the template argument list}}
{ };
|