3 // { dg-options "-std=c++0x" }
5 template<typename... A> struct foo {};
7 template<typename A0, typename... A1> struct bar {};
9 template<typename U> struct baz;
11 template<template<typename...> class T, typename... U> struct baz< T<U...> >
14 template<template<typename, typename...> class T, typename U, typename... V>
15 struct baz< T<U, V...> >
18 baz< foo<int, short> > b1;
19 baz< bar<int, short> > b2;