Home | History | Annotate | Download | only in AsmParser
      1 // RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
      2 // RUN: FileCheck --input-file %t %s
      3 
      4         .data
      5 // CHECK: Recursive use of 't0_v0'
      6         t0_v0 = t0_v0 + 1
      7 
      8         t1_v1 = 1
      9         t1_v1 = 2
     10 
     11 t2_s0:
     12 // CHECK: redefinition of 't2_s0'
     13         t2_s0 = 2
     14 
     15         t3_s0 = t2_s0 + 1
     16         .long t3_s0
     17 // CHECK: invalid reassignment of non-absolute variable 't3_s0'
     18         t3_s0 = 1
     19 
     20 
     21 // CHECK: Recursive use of 't4_s2'
     22         t4_s0 = t4_s1
     23         t4_s1 = t4_s2
     24         t4_s2 = t4_s0
     25 
     26 // CHECK: Recursive use of 't5_s1'
     27         t5_s0 = t5_s1 + 1
     28         t5_s1 = t5_s0
     29