1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/MC/AsmParser/variables-invalid.s

18 lines
382 B
ArmAsm
Raw Normal View History

2009-10-16 18:30:02 +02:00
// RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
// RUN: FileCheck --input-file %t %s
.data
// CHECK: invalid assignment to 't0_v0'
t0_v0 = t0_v0 + 1
t1_v1 = 1
t1_v1 = 2
t2_s0:
// CHECK: redefinition of 't2_s0'
t2_s0 = 2
t3_s0 = t2_s0 + 1
// CHECK: invalid reassignment of non-absolute variable 't3_s0'
t3_s0 = 1