mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
48c9533181
rdar://11027851 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153137 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
584 B
ArmAsm
29 lines
584 B
ArmAsm
// RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
|
|
// RUN: FileCheck --input-file %t %s
|
|
|
|
.data
|
|
// CHECK: Recursive use of '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
|
|
.long t3_s0
|
|
// CHECK: invalid reassignment of non-absolute variable 't3_s0'
|
|
t3_s0 = 1
|
|
|
|
|
|
// CHECK: Recursive use of 't4_s2'
|
|
t4_s0 = t4_s1
|
|
t4_s1 = t4_s2
|
|
t4_s2 = t4_s0
|
|
|
|
// CHECK: Recursive use of 't5_s1'
|
|
t5_s0 = t5_s1 + 1
|
|
t5_s1 = t5_s0
|