++0x -> ++11.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / vt-35023.C
1 // { dg-options "-std=c++11" }
2 template<typename... T> int foo()
3 {
4 T t; // { dg-error "parameter packs|T" }
5 return t;
6 }
7
8 void bar()
9 {
10 foo<int>();
11 }