aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic129.C
blob: 7118301418a610acbc6b175e794ca21184e0e0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// PR c++/50830
// { dg-do compile { target c++11 } }

template<template<class> class...>
struct list_templates {};

template<class>
struct aa {};

template<class... T>
struct test {};

template<template<class> class... F, class T>
struct test<list_templates<F...>, T>
{
    struct inner {};
};

test<list_templates<aa>, int> a4; // error