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