mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 04:57:35 +00:00
14 lines
199 B
Rust
14 lines
199 B
Rust
![]() |
//@ needs-asm-support
|
||
|
|
||
|
use std::arch::asm;
|
||
|
|
||
|
fn main() {
|
||
|
unsafe {
|
||
|
asm!(
|
||
|
"/* {} */",
|
||
|
sym None::<()>,
|
||
|
//~^ ERROR invalid `sym` operand
|
||
|
);
|
||
|
}
|
||
|
}
|