Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for23.C
blob: 849682c023a64803b5b14a0ea28d6671722a8f94 [
file
] [
log
] [
blame
]
// PR c++/56722
// { dg-do compile { target c++11 } }
int
main
()
{
for
(
const
auto
&
i
,
21
)
// { dg-error "has no initializer|expected" }
i
;
}