aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-ml/architecture_errors.asm
blob: 9908dafce0b2e0590fc824433887392bee9097cf (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s
; RUN: not llvm-ml -m32 -filetype=s %s /Fo - 2>&1 | FileCheck %s
; RUN: not llvm-ml64 -m32 -filetype=s %s /Fo - 2>&1 | FileCheck %s

.code

; CHECK: :[[# @LINE + 1]]:5: error: register %rax is only available in 64-bit mode
xor rax, rax

end