aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/bad-expr3.s
blob: 990167cda53f828cbb83c82fa31a912e08c9da1f (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \
// RUN: 2>&1 | FileCheck %s

// CHECK: Cannot represent a difference across sections

        .long foo - bar
        .section .zed
foo:
        .section .bah
bar: