Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
async-await
/
for-await-2015.rs
blob: c1b7c016d1fc01fe9735c87c52c772692686582a [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
async_for_loop
)]
// Make sure we don't break `for await` loops in the 2015 edition, where `await` was allowed as an
// identifier.
fn
main
()
{
for
await in
0.
.
3
{}
}