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
6 # CHECK: :[[#@LINE+1]]:7: error: out of range literal value
8 # CHECK: :[[#@LINE+1]]:8: error: out of range literal value
10 # CHECK: :[[#@LINE+1]]:8: error: out of range literal value
12 # CHECK: :[[#@LINE+1]]:8: error: out of range literal value
14 # CHECK: :[[#@LINE+1]]:7: error: out of range literal value
16 # CHECK: :[[#@LINE+1]]:7: error: out of range literal value
18 # CHECK: :[[#@LINE+1]]:8: error: out of range literal value
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