]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/global-asm.rs
Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726
[rust.git] / tests / ui / macros / global-asm.rs
1 use std::arch::global_asm;
2
3 fn main() {
4     global_asm!(); //~ ERROR requires at least a template string argument
5     global_asm!(struct); //~ ERROR expected expression
6     global_asm!(123); //~ ERROR asm template must be a string literal
7 }