summary refs log tree commit diff
path: root/src/test/ui/asm/issue-51431.rs
blob: d29c31fafc2868232b9ced4cd2d913992e4dba06 (plain)
1
2
3
4
5
6
7
8
9
10
// ignore-emscripten no asm! support

#![feature(asm)]

fn main() {
    unsafe {
        asm! {"mov $0,$1"::"0"("bx"),"1"(0x00)}
        //~^ ERROR: invalid value for constraint in inline assembly
    }
}