mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
16 lines
206 B
Rust
16 lines
206 B
Rust
//@ known-bug: #111709
|
|
//@ edition: 2021
|
|
|
|
use core::arch::asm;
|
|
|
|
extern "C" fn test<T>() {}
|
|
|
|
fn uwu() {
|
|
unsafe {
|
|
asm!(
|
|
"/* {0} */",
|
|
sym test::<&mut ()>
|
|
);
|
|
}
|
|
}
|