]> git.lizzy.rs Git - rust.git/blob - tests/ui/print_type_sizes/async.rs
Rollup merge of #106766 - GuillaumeGomez:rm-stripper-dead-code, r=notriddle
[rust.git] / tests / ui / print_type_sizes / async.rs
1 // compile-flags: -Z print-type-sizes --crate-type lib
2 // edition:2021
3 // build-pass
4 // ignore-pass
5
6 async fn wait() {}
7
8 pub async fn test(arg: [u8; 8192]) {
9     wait().await;
10     drop(arg);
11 }