1# RUN: not llvm-mc -triple mips-unknown-linux -filetype=obj %s 2>%t
2# RUN: FileCheck %s < %t
3
4# Check that we emit an error for unsupported relocations instead of crashing.
5
6        .globl x
7
8        .data
9foo:
10        .byte   x
11        .byte   x+1
12
13# CHECK: LLVM ERROR: MIPS does not support one byte relocations
14