rust/tests/crashes/111709-2.rs

16 lines
206 B
Rust
Raw Normal View History

//@ known-bug: #111709
//@ edition: 2021
use core::arch::asm;
extern "C" fn test<T>() {}
fn uwu() {
unsafe {
asm!(
"/* {0} */",
sym test::<&mut ()>
);
}
}