1# RUN: not llvm-mc -triple hexagon < %s 2>&1 | FileCheck %s
2
3# CHECK: [[@LINE+1]]:7: error: out of range literal value in '.byte' directive
4.byte 0xffa
5# CHECK: [[@LINE+1]]:7: error: out of range literal value in '.half' directive
6.half 0xffffa
7# CHECK: [[@LINE+1]]:8: error: out of range literal value in '.short' directive
8.short 0xffffa
9# CHECK: [[@LINE+1]]:8: error: out of range literal value in '.hword' directive
10.hword 0xffffa
11# CHECK: [[@LINE+1]]:8: error: out of range literal value in '.2byte' directive
12.2byte 0xffffa
13# CHECK: [[@LINE+1]]:7: error: out of range literal value in '.word' directive
14.word 0xffffffffa
15# CHECK: [[@LINE+1]]:7: error: out of range literal value in '.long' directive
16.long 0xffffffffa
17# CHECK: [[@LINE+1]]:8: error: out of range literal value in '.4byte' directive
18.4byte 0xffffffffa
19# CHECK: [[@LINE+1]]:8: error: literal value out of range for directive in '.8byte' directive
20.8byte 0xffffffffffffffffa
21