llvm-for-llvmta/test/MC/ELF/subtraction-error.s

9 lines
189 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// 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