blob: 311c0c7d60f20b0ae46d49d88dd91405124fcaf6 [file] [log] [blame]
# RUN: not llvm-mc -triple mips-unknown-linux -filetype=obj -o %t %s 2>&1 \
# RUN: | FileCheck %s
# Check that we emit an error for unsupported relocations instead of crashing.
.globl x
.data
foo:
.byte x
# CHECK: :[[@LINE-1]]:17: error: MIPS does not support one byte relocations
.byte x+1
# CHECK: :[[@LINE-1]]:17: error: MIPS does not support one byte relocations