repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
range-for1.C
blob
7e6d05580c899559edd3ce7b09cdc407e7920689
1
// { dg-options "-std=c++1z -pedantic-errors" }
2
3
extern "C" int printf (const char *, ...);
4
#include <initializer_list>
5
6
int main()
7
{
8
for (i : {1,2})
9
{
10
printf ("%d ", i);
11
}
12
}