brintos

brintos / llvm-project-archived public Read only

0
0
Text · 478 B · b754368 Raw
14 lines · cpp
1// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s2 3// -- The argument list of the specialization shall not be identical4//    to the implicit argument list of the primary template.5 6template<typename T, typename ...Types>7struct X1; 8 9template<typename T, typename ...Types>10struct 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}}11{ };12 13 14