xref: /llvm-project/llvm/test/MC/COFF/cross-section-relative-err.s (revision c618692218d16e88fa20df56b29a8dd09c9e9db7)
1// RUN: not llvm-mc -filetype=obj -triple i686-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s --check-prefixes=CHECK,I686
2// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s
3
4
5// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
6        .byte foo - .
7
8// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
9        .short foo - .
10
11// I686: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
12        .quad foo - .
13