brintos

brintos / llvm-project-archived public Read only

0
0
Text · 366 B · ee4e17f Raw
13 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o3# RUN: echo ".weak foo" | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t2.o4# RUN: not ld.lld %t1.o %t2.o -o /dev/null 2>&1 | FileCheck %s5# RUN: not ld.lld %t2.o %t1.o -o /dev/null 2>&1 | FileCheck %s6 7# CHECK: error: undefined symbol: foo8 9.long foo10.globl _start11_start:12ret13