Files
rust/tests/crashes/137916.rs
T
2025-04-10 09:56:37 +02:00

14 lines
217 B
Rust

//@ known-bug: #137916
//@ edition: 2021
use std::ptr::null;
async fn a() -> Box<dyn Send> {
Box::new(async {
let non_send = null::<()>();
&non_send;
async {}.await
})
}
fn main() {}