llvm/test/MC/ELF/bad-expr.s
David Majnemer ce5f07f33c Forgot to add testcase for r198590
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199765 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-21 20:39:11 +00:00

9 lines
263 B
ArmAsm

// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null 2>%t
// RUN: FileCheck --input-file=%t %s
// CHECK: symbol '__executable_start' can not be undefined in a subtraction expression
.data
x:
.quad x-__executable_start