llvm-for-llvmta/test/tools/llvm-ml/expansion.asm

39 lines
426 B
NASM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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