14 lines · plain
1// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t > /dev/null2// RUN: FileCheck -input-file %t %s3 4.global zed5 .data6foo:7 .text8 nop9bar:10 nop11zed:12// CHECK: expected relocatable expression13 mov zed+(bar-foo), %eax14