mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
24 lines
388 B
NASM
24 lines
388 B
NASM
; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
|
|
|
|
.data
|
|
t1_value equ 1 or 2
|
|
|
|
t1 BYTE t1_VALUE DUP (0)
|
|
; CHECK-LABEL: t1:
|
|
; CHECK-NEXT: .byte 0
|
|
; CHECK-NEXT: .byte 0
|
|
; CHECK-NEXT: .byte 0
|
|
; CHECK-NOT: .byte 0
|
|
|
|
t2_value equ 4 or t1_value
|
|
t2 BYTE t2_VALUE
|
|
; CHECK-LABEL: t2:
|
|
; CHECK-NEXT: .byte 7
|
|
|
|
t3_value equ t1_VALUE or 8
|
|
t3 BYTE t3_VALUE
|
|
; CHECK-LABEL: t3:
|
|
; CHECK-NEXT: .byte 11
|
|
|
|
END
|