]> git.proxmox.com Git - rustc.git/blob - src/test/ui/asm/issue-51431.rs
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / asm / issue-51431.rs
1 // ignore-emscripten no asm! support
2
3 #![feature(asm)]
4
5 fn main() {
6 unsafe {
7 asm! {"mov $0,$1"::"0"("bx"),"1"(0x00)}
8 //~^ ERROR: invalid value for constraint in inline assembly
9 }
10 }