[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / RISCV / fixups-diagnostics.s
blobd346605221c75c39c59ea758b8d1cc77f7f2cf2c
1 # RUN: not llvm-mc -triple riscv32 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
3 jal a0, far_distant # CHECK: :[[@LINE]]:3: error: fixup value out of range
4 jal a0, unaligned # CHECK: :[[@LINE]]:3: error: fixup value must be 2-byte aligned
6 beq a0, a1, distant # CHECK: :[[@LINE]]:3: error: fixup value out of range
7 blt t0, t1, unaligned # CHECK: :[[@LINE]]:3: error: fixup value must be 2-byte aligned
9 .byte 0
10 unaligned:
11 .byte 0
12 .byte 0
13 .byte 0
15 .space 1<<12
16 distant:
17 .space 1<<20
18 far_distant: