view test/MC/AsmParser/variables.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +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