summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0663.rs
blob: 0783d705a5bfe6edc1285614f1d90d596a0f4d95 (plain)
1
2
3
4
5
6
7
8
9
10
// ignore-emscripten

#![feature(llvm_asm)]

fn main() {
    llvm_asm!("xor %eax, %eax"
              :
              : "+test"("a") //~ ERROR E0663
             );
}