summaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/exprs-invalid.s
blob: 5358fc5d7535db71b5d827f2d9fe9a917944a80d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: not llvm-mc -triple i386-unknown-unknown %s 2> %t
// RUN: FileCheck -input-file %t %s

// Currently XFAIL'ed, since the front-end isn't validating this. Figure out the
// right resolution.
//
// XFAIL: *

        .text
a:
        .data
// CHECK: expected relocatable expression
        .long -(0 + a)
OpenPOWER on IntegriCloud