[RemoveDIs][DebugInfo] Update SROA to handle DPVAssigns (#78475)
[llvm-project.git] / llvm / test / MC / ELF / bad-expr2.s
blob1ca8e90c76f9f0e999fd644cac61b301497ac6fe
1 // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \
2 // RUN: 2>&1 | FileCheck %s
4 // CHECK: [[@LINE+2]]:{{[0-9]+}}: error: Cannot represent a difference across sections
5 // CHECK-NEXT: call foo - bar
6 call foo - bar
8 .section .foo
9 foo:
10 .section .bar
11 bar: