repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
asan
/
pr117845-2.C
blob
c0556397009112f23924ce72960e663e162a0bdf
1
// PR c++/117845 - Actually valid variant
2
// { dg-do "compile" }
3
// { dg-options "-fsanitize=address" }
4
5
#include <initializer_list>
6
7
void l() {
8
auto const ints = {0,1,2,3,4,5};
9
for (auto i : { 3 } ) {
10
__builtin_printf("%d ", i);
11
}
12
}