Files
clang-p2996/llvm/test/tools/llvm-ml/parse_only_errors.asm
Eric Astor 1236dbc2fa [ms] [llvm-ml] Allow the /Zs parameter as a synonym for -filetype=null
For ml.exe, /Zs implies a syntax check with no output files.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D90061
2021-03-17 12:18:43 -04:00

19 lines
331 B
NASM

; RUN: not llvm-ml %s /Zs /Fo - 2>&1 | FileCheck %s
.code
t1 PROC
blah
ret
t1 ENDP
; check for the .text symbol (appears in both object files & .s output)
; CHECK-NOT: .text
; CHECK: error: invalid instruction mnemonic 'blah'
; check for the .text symbol (appears in both object files & .s output)
; CHECK-NOT: .text
end