* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-crash3.C
blobb82506783c62f9b448daf2c78b2bade85bbfa21c
1 // PR c++/60153
2 // { dg-do compile { target c++11 } }
4 enum class foo :int {x,y,z};
6 template <int a, foo b>
7 class A
9 public:
10   A()
11   {
12   }
15 template <typename T>
16 struct B
18   typedef T value_type;
19   static const T val;
22 template <typename... B>
23 struct madscience_intitializer
25   template <typename B::value_type... args>
26   using ret_type = A<args...>;
29 int main()
31   madscience_intitializer<B<int>,B<foo> >::ret_type<1,foo::y> a;