[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / COFF / cross-section-relative-err.s
blob76bb22ffb46e0c9344d8850facc75e97f32637b7
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
5 // CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
6 .byte foo - .
8 // CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
9 .short foo - .
11 // I686: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression
12 .quad foo - .