blob: dad7431b13c7933c1f522fceb4ec6ffbc08d5186 [file] [log] [blame]
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \
// RUN: 2>&1 | FileCheck %s
// CHECK: [[@LINE+2]]:{{[0-9]+}}: error: No relocation available to represent this relative expression
// CHECK-NEXT: call foo - bar
call foo - bar
.section .foo
foo:
.section .bar
bar: