~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/MC/AsmParser/variables-invalid.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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