mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
4082cce59d
Switch to OptParser for command-line handling Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D90058
39 lines
426 B
NASM
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
|