brintos

brintos / llvm-project-archived public Read only

0
0
Text · 454 B · 2991e94 Raw
16 lines · plain
1# REQUIRES: x862# RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux -o %t.o3# RUN: llvm-mc %p/Inputs/undefined-error.s -filetype=obj \4# RUN:    -triple=x86_64-pc-linux -o %t2.o5# RUN: ld.lld -shared %t2.o -o %t2.so6# RUN: not ld.lld --allow-shlib-undefined %t2.so %t.o -o /dev/null 2>&1 | FileCheck %s7 8# CHECK: undefined symbol: fmod9# Check we're not emitting other diagnostics for this symbol.10# CHECK-NOT: fmod11 12.global main13 14main:15  callq fmod16