1 2 3 4 5 6 7 8 9 10 11 12 13
// PR c++/51046 // { dg-do compile { target c++11 } } template<int... IS> void f() { for (int i : IS); // { dg-error "not expanded" } } int main() { f<0, 1, 2>(); }