mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
8 lines
238 B
Rust
8 lines
238 B
Rust
|
#![feature(global_asm)]
|
||
|
|
||
|
fn main() {
|
||
|
global_asm!(); //~ ERROR requires a string literal as an argument
|
||
|
global_asm!(struct); //~ ERROR expected expression
|
||
|
global_asm!(123); //~ ERROR inline assembly must be a string literal
|
||
|
}
|