mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 04:27:38 +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
|
|
);
|
|
}
|
|
}
|