2 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux -o %t.o
3 # RUN: llvm-mc %p/Inputs/undefined-error.s -filetype=obj \
4 # RUN: -triple=x86_64-pc-linux -o %t2.o
5 # RUN: ld.lld -shared %t2.o -o %t2.so
6 # RUN: not ld.lld --allow-shlib-undefined %t2.so %t.o -o /dev/null 2>&1 | FileCheck %s
8 # CHECK: undefined symbol: fmod
9 # Check we're not emitting other diagnostics for this symbol.