summary refs log tree commit diff
path: root/src/test/ui/macros/global-asm.rs
blob: b8903e07cfd38cf0fbf048b65c05d1afb7f319c2 (plain)
1
2
3
4
5
6
7
#![feature(global_asm)]

fn main() {
    global_asm!();  //~ ERROR requires at least a template string argument
    global_asm!(struct); //~ ERROR expected expression
    global_asm!(123); //~ ERROR asm template must be a string literal
}