mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +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 ()>
|
||
|
);
|
||
|
}
|
||
|
}
|