mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
dcc729c605
The directive name is not useful because the next line replicates the error line which includes the directive.
24 lines
929 B
ArmAsm
24 lines
929 B
ArmAsm
# RUN: not llvm-mc -triple riscv32 < %s 2>&1 | FileCheck %s
|
|
# RUN: not llvm-mc -triple riscv64 < %s 2>&1 | FileCheck %s
|
|
|
|
# CHECK: :[[#@LINE+1]]:7: error: out of range literal value
|
|
.byte 0xffa
|
|
# CHECK: :[[#@LINE+1]]:7: error: out of range literal value
|
|
.half 0xffffa
|
|
# CHECK: :[[#@LINE+1]]:8: error: out of range literal value
|
|
.short 0xffffa
|
|
# CHECK: :[[#@LINE+1]]:8: error: out of range literal value
|
|
.hword 0xffffa
|
|
# CHECK: :[[#@LINE+1]]:8: error: out of range literal value
|
|
.2byte 0xffffa
|
|
# CHECK: :[[#@LINE+1]]:7: error: out of range literal value
|
|
.word 0xffffffffa
|
|
# CHECK: :[[#@LINE+1]]:7: error: out of range literal value
|
|
.long 0xffffffffa
|
|
# CHECK: :[[#@LINE+1]]:8: error: out of range literal value
|
|
.4byte 0xffffffffa
|
|
# CHECK: :[[#@LINE+1]]:8: error: literal value out of range for directive
|
|
.dword 0xffffffffffffffffa
|
|
# CHECK: :[[#@LINE+1]]:8: error: literal value out of range for directive
|
|
.8byte 0xffffffffffffffffa
|