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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for19.C
blob
e3f446f3700a90aa633cafc2367bab89eb11f56c
1
// PR c++/49838
2
3
// { dg-do compile { target c++11 } }
4
5
int main()
6
{
7
auto a; // { dg-error "no initializer" }
8
for(auto i: a) // { dg-error "deduce" }
9
;
10
}