view test/MC/ELF/subtraction-error.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 54457678186b
children
line wrap: on
line source

// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux < %s 2>&1 | FileCheck %s

a:
    .section foo
b:
c = b - a

; CHECK: symbol 'a' could not be evaluated in a subtraction expression