[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / RISCV / data-directives-invalid.s
blobdd94a4866bfdee56bf979e96a29913e0deb5d1f5
1 # RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -triple riscv64 < %s 2>&1 | FileCheck %s
4 # CHECK: :[[#@LINE+1]]:7: error: out of range literal value
5 .byte 0xffa
6 # CHECK: :[[#@LINE+1]]:7: error: out of range literal value
7 .half 0xffffa
8 # CHECK: :[[#@LINE+1]]:8: error: out of range literal value
9 .short 0xffffa
10 # CHECK: :[[#@LINE+1]]:8: error: out of range literal value
11 .hword 0xffffa
12 # CHECK: :[[#@LINE+1]]:8: error: out of range literal value
13 .2byte 0xffffa
14 # CHECK: :[[#@LINE+1]]:7: error: out of range literal value
15 .word 0xffffffffa
16 # CHECK: :[[#@LINE+1]]:7: error: out of range literal value
17 .long 0xffffffffa
18 # CHECK: :[[#@LINE+1]]:8: error: out of range literal value
19 .4byte 0xffffffffa
20 # CHECK: :[[#@LINE+1]]:8: error: literal value out of range for directive
21 .dword 0xffffffffffffffffa
22 # CHECK: :[[#@LINE+1]]:8: error: literal value out of range for directive
23 .8byte 0xffffffffffffffffa