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 in '.byte' directive
6 # CHECK: [[@LINE+1]]:7: error: out of range literal value in '.half' directive
8 # CHECK: [[@LINE+1]]:8: error: out of range literal value in '.short' directive
10 # CHECK: [[@LINE+1]]:8: error: out of range literal value in '.hword' directive
12 # CHECK: [[@LINE+1]]:8: error: out of range literal value in '.2byte' directive
14 # CHECK: [[@LINE+1]]:7: error: out of range literal value in '.word' directive
16 # CHECK: [[@LINE+1]]:7: error: out of range literal value in '.long' directive
18 # CHECK: [[@LINE+1]]:8: error: out of range literal value in '.4byte' directive
20 # CHECK: [[@LINE+1]]:8: error: literal value out of range for directive in '.dword' directive
21 .dword 0xffffffffffffffffa
22 # CHECK: [[@LINE+1]]:8: error: literal value out of range for directive in '.8byte' directive
23 .8byte
0xffffffffffffffffa