aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic89.C
blob: 1e59c1af75c302042ad79829adac23596bc5471c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do compile { target c++11 } }
// Contributed by Eric Niebler
template<typename T, typename U>
struct pair
{};

template<typename T>
struct test;

template<template<typename...> class T, typename... Args>
struct test<T<Args...> >
{};

test<pair<int, double> > t;