2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic119.C
blob78cd23e20516d2d0775c856e55766bacf0a8aa4e
1 // PR c++/51046
2 // { dg-do compile { target c++11 } }
4 template<int... IS>
5 void f()
7   for (int i : IS);             // { dg-error "not expanded" }
10 int main()
12   f<0, 1, 2>();