summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic-ttp.C
blob: 41f1c1db43d5e348f571b40cde9910e70812c6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-options -std=c++0x }
// PR c++/34101
template<typename> struct A {};

template<template<typename> class...> struct B {};

template<template<typename> class T> void foo(const B<T>&);

void bar()
{
  foo(B<A>());
}