Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/range-for24.C

raw
1 // PR c++/56794
2 // { dg-require-effective-target c++11 }
3
4 template<int... values>
5 static void Colors()
6 {
7 static const int colors[] = { values... };
8
9 for(auto c: colors) { }
10 }
11
12 int main()
13 {
14 Colors<0,1,2> ();
15 }