Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
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
;
}