c: fix ICE when forming composite type for two structures / unions [PR117548]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic33.C
blobbd25b8493878321a66c035021c8da97fec64c989
1 // { dg-do compile { target c++11 } }
2 void print_all() {}
4 template<typename T, typename... Rest>
5 void print_all(const T& t, const Rest&... rest)
7   print_all(rest...);
10 void f()
12   print_all();
13   print_all(1);
14   print_all(1, 3.14159);
15   print_all("Hello, World!", 17, 3.14159);