1// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t
2// RUN: FileCheck -input-file %t %s
3
4.global zed
5        .data
6foo:
7        .text
8        nop
9bar:
10        nop
11zed:
12// CHECK: expected relocatable expression
13        mov zed+(bar-foo), %eax
14