1 // { dg-do compile { target c++11 } }
3 template <typename... Types> struct package {};
5 template <int ArgGen> struct wrapper_gen {};
7 template <int ArgNest> struct wrapper_nest
9 typedef wrapper_gen<ArgNest> type_nest;
12 template <int... ArgPack>
15 typedef package<wrapper_gen <ArgPack>...> type_pack;
16 // incorrect error: expansion pattern 'wrapper_gen<ArgNest>'
17 // contains no argument packs