summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/partial-specialization12.C
blob: 5f51e8a27debe8a4ada721b33303a307cb881cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/105289
// CWG 455 (active)
// { dg-do compile { target c++11 } }

template<class T>
struct value_type;

template<class List, typename value_type<List>::type Element>
struct push_front_vlist;

template<template<class X, X...> class XList, class T, T Arg, T... Vs>
struct push_front_vlist<XList<T, Vs...>, Arg> { }; // { dg-error "not more specialized" }