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
Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for23.C
blob
849682c023a64803b5b14a0ea28d6671722a8f94
1
// PR c++/56722
2
// { dg-do compile { target c++11 } }
3
4
int main()
5
{
6
for (const auto& i, 21) // { dg-error "has no initializer|expected" }
7
i;
8
}