1 # RUN: llvm-jitlink -noexec %S/Inputs/MachO_was_private_extern.o
3 # Perform a no-exec link of MachO_was_private_extern.o and verify that it does
4 # not generate any errors despite the presence of a 'was private extern' symbol
5 # (N_PEXT set, N_EXT unset).
7 # The test case for this is a relocatable object file rather than assembly as
8 # objects must be run through ld64's 'ld -r' mode to produce them and we can't
9 # assume that that is available everywhere.