# RUN: ld64.lld -arch x86_64 -r %s -o %t
#
# Test that writing empty mach-o sections does not segfault the linker.
--- !mach-o
arch: x86_64
file-type: MH_OBJECT
...