brintos

brintos / llvm-project-archived public Read only

0
0
Text · 408 B · 4cbcff2 Raw
14 lines · plain
1# RUN: not llvm-mc -triple mips-unknown-linux -filetype=obj -o %t %s 2>&1 \2# RUN:  |  FileCheck %s3 4# Check that we emit an error for unsupported relocations instead of crashing.5 6        .globl x7 8        .data9foo:10        .byte   x11# CHECK: :[[@LINE-1]]:17: error: MIPS does not support one byte relocations12        .byte   x+113# CHECK: :[[@LINE-1]]:18: error: MIPS does not support one byte relocations14