* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-ttp4.C
blob72cff3874cb4e616da3921ddde35e2d5b67d5dc7
1 // { dg-do compile { target c++11 } }
3 template<typename _Tp>
4 struct get_first_arg;
6 template<template<typename, typename...> class _Template, typename _Tp,
7          typename... _Types>
8 struct get_first_arg<_Template<_Tp, _Types...>>
9 { using type = _Tp; };
11 template<typename T> struct A { };
13 template<class,class> struct same;
14 template<class T> struct same<T,T> {};
16 same<get_first_arg<A<int>>::type,
17      int> x;