blob: a39a3e7f8c1b128a37bdfc50dc84b767be14ab94 [file] [log] [blame]
# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.9 -twolevel_namespace -undefined dynamic_lookup %s -o %t %p/Inputs/libSystem.yaml
#
# Sanity check '-twolevel_namespace -undefined dynamic_lookup'.
# This should pass without error, even though '_bar' is undefined.
--- !native
defined-atoms:
- name: _main
scope: global
content: [ E9, 00, 00, 00, 00 ]
alignment: 16
references:
- kind: branch32
offset: 1
target: _bar
undefined-atoms:
- name: _bar