12 lines · plain
1// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \2// RUN: 2>&1 | FileCheck %s3 4// CHECK: [[@LINE+2]]:{{[0-9]+}}: error: Cannot represent a difference across sections5// CHECK-NEXT: call foo - bar6 call foo - bar7 8 .section .foo9foo:10 .section .bar11bar:12