view test/MC/AsmParser/variables.s @ 85:5e5d649e25d2

Update LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Thu, 19 Feb 2015 15:19:25 +0900
parents 95c75e76d11b
children
line wrap: on
line source

// 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