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