llvm/test/MC/LoongArch/Relocations/fixups-invalid.s
raw| 1 | # RUN: not llvm-mc --filetype=obj %s --triple=loongarch32 -o /dev/null 2>&1 \ |
| 2 | # RUN: | FileCheck %s |
| 3 | # RUN: not llvm-mc --filetype=obj %s --triple=loongarch64 -o /dev/null 2>&1 \ |
| 4 | # RUN: | FileCheck %s |
| 5 | |
| 6 | .byte foo # CHECK: [[#@LINE]]:7: error: 1-byte data relocations not supported |
| 7 | .2byte foo # CHECK: [[#@LINE]]:8: error: 2-byte data relocations not supported |