* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-crash2.C
blob8b5ee0dd2422b8abd3190b8b5f46dea7dbe20729
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/39637
3 // { dg-do compile { target c++11 } }
5 template<class... Types>
6 void
7 f(Types...)
9   enum {e = sizeof(Types)}; // { dg-error "parameter packs not expanded with '...'" }
10   enum {e1 = sizeof...(Types)};
13 int
14 main()
16     f(0);