]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/global-asm.rs
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / 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 }