summaryrefslogtreecommitdiff
path: root/test/MC/ELF/bad-expr.s
blob: 1cad919fee3c25596ebf2aa9f533e1f9fac7206e (plain)
1
2
3
4
5
6
7
8
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null 2>%t
// RUN: FileCheck --input-file=%t %s

// CHECK: symbol '__executable_start' can not be undefined in a subtraction expression

        .data
x:
        .quad   x-__executable_start