1# RUN: ld64.lld -arch x86_64 -macosx_version_min 10.9 -flat_namespace -undefined suppress %s -o %t %p/Inputs/x86_64/libSystem.yaml
2#
3# Sanity check '-flat_namespace -undefined suppress'.
4# This should pass without error, even though '_bar' is undefined.
5
6--- !native
7defined-atoms:
8  - name:            _main
9    scope:           global
10    content:         [ E9, 00, 00, 00, 00 ]
11    alignment:       16
12    references:
13      - kind:            branch32
14        offset:          1
15        target:          _bar
16undefined-atoms:
17  - name:            _bar
18