summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/COFF/cross-section-relative-err.s
blob: e237f60e9a364b62f3079e0b94e1503a452ec96f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s


// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
        .byte foo - .

// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
        .short foo - .

// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
        .quad foo - .

OpenPOWER on IntegriCloud