brintos

brintos / llvm-project-archived public Read only

0
0
Text · 236 B · 2c2dc7b Raw
11 lines · plain
1# REQUIRES: riscv2# RUN: llvm-mc -filetype=obj -triple=riscv64 %s -o %t.o3# RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s4 5# CHECK: error: relocation R_RISCV_32 cannot be used against symbol 'a'6 7.globl a8 9.data10.long a11