e19d552987
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
12 lines
320 B
ArmAsm
12 lines
320 B
ArmAsm
// 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:
|