1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/tools/llvm-ml/expansion.asm
Eric Astor 4082cce59d [ms] [llvm-ml] Introduce command-line compatibility for ml.exe and ml64.exe
Switch to OptParser for command-line handling

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D90058
2020-12-01 17:43:44 -05:00

39 lines
426 B
NASM

; RUN: llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s
.code
num EQU 276
var TEXTEQU %num
ECHO t1
ECHO var
ECHO var
; CHECK-LABEL: t1
; CHECK: var
; CHECK: var
; CHECK-NOT: var
ECHO t2
%ECHO var
% ECHO var
%ECHO var
% ECHO var
; CHECK-LABEL: t2
; CHECK: 276
; CHECK: 276
; CHECK: 276
; CHECK: 276
; CHECK-NOT: 276
t3:
mov eax, var
% mov eax, var
; CHECK-LABEL: t3:
; CHECK: mov eax, 276
; CHECK: mov eax, 276
end