llvm-project/llvm/test/MC/AsmParser/variables.s

16 lines
271 B
ArmAsm
Raw Normal View History

// RUN: llvm-mc %s
.data
t0_v0 = 1
t0_v1 = t0_v0
.if t0_v1 != 1
.abort "invalid value"
.endif
t1_v0 = 1
t1_v1 = t0_v0
t1_v0 = 2
.if t0_v1 != 1
.abort "invalid value"
.endif