Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
async-await
/
repeat_count_const_in_async_fn.rs
blob: ebabc3fbf10f9185a3ee9287afeaef3e7c145dbe [
file
] [
log
] [
blame
]
// check-pass
// edition:2018
// compile-flags: --crate-type=lib
pub
async
fn
test
()
{
const
C
:
usize
=
4
;
foo
(&
mut
[
0u8
;
C
]).
await
;
}
async
fn
foo
(
_
:
&
mut
[
u8
])
{}