[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AsmParser / variables-invalid.s
blobc466d422b9699377b87564232d0595600061e0ba
1 // RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
2 // RUN: FileCheck --input-file %t %s
4 .data
5 // CHECK: Recursive use of 't0_v0'
6 t0_v0 = t0_v0 + 1
8 t1_v1 = 1
9 t1_v1 = 2
11 t2_s0:
12 // CHECK: redefinition of 't2_s0'
13 t2_s0 = 2
15 t3_s0 = t2_s0 + 1
16 .long t3_s0
17 // CHECK: invalid reassignment of non-absolute variable 't3_s0'
18 t3_s0 = 1
21 // CHECK: Recursive use of 't4_s2'
22 t4_s0 = t4_s1
23 t4_s1 = t4_s2
24 t4_s2 = t4_s0
26 // CHECK: Recursive use of 't5_s1'
27 t5_s0 = t5_s1 + 1
28 t5_s1 = t5_s0