summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic89.C
blob: b943771a6deee2e6bea65fb6a3086455d7cd48d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-options "-std=c++0x" }
// 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;