aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/variables.s
blob: cb004d7888228aafa593f6cda4cdfef306bcd8eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: llvm-mc -triple i386-unknown-unknown %s

        .data
        t0_v0 = 1
        t0_v1 = t0_v0
        .if t0_v1 != 1
        .abort "invalid value"
        .endif

        t1_v0 = 1
        t1_v1 = t0_v0
        t1_v0 = 2
        .if t0_v1 != 1
        .abort "invalid value"
        .endif