]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/global-asm.rs
Rollup merge of #106962 - compiler-errors:use-sugg-span, r=oli-obk
[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 }