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
297 B
NASM

; RUN: llvm-ml %s /Zs /Fo - | FileCheck %s
.code
t1 PROC
ECHO Testing!
ret
t1 ENDP
; check for the .text symbol (appears in both object files & .s output)
; CHECK-NOT: .text
; CHECK: Testing!
; check for the .text symbol (appears in both object files & .s output)
; CHECK-NOT: .text
end