Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / MC / AsmParser / variables-invalid.s
blob9656889c5b1a5ec02855cc40e4703f7c6d5dfbc4
1 // RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
2 // RUN: FileCheck --input-file %t %s
4 .data
5 // CHECK: invalid assignment to '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 // CHECK: invalid reassignment of non-absolute variable 't3_s0'
17 t3_s0 = 1