2021-12-10 00:15:33 +00:00
|
|
|
use std::arch::global_asm;
|
2018-12-04 14:10:32 -05:00
|
|
|
|
|
|
|
fn main() {
|
2021-12-10 00:15:33 +00:00
|
|
|
global_asm!(); //~ ERROR requires at least a template string argument
|
2018-12-04 14:10:32 -05:00
|
|
|
global_asm!(struct); //~ ERROR expected expression
|
2021-04-11 20:51:28 +01:00
|
|
|
global_asm!(123); //~ ERROR asm template must be a string literal
|
2018-12-04 14:10:32 -05:00
|
|
|
}
|