1# RUN: ld64.lld -arch x86_64 %s -syslibroot %p/Inputs/lib-search-paths -lmyshared -lmystatic -lfile.o -r -print_atoms 2>&1  | FileCheck %s
2
3--- !native
4undefined-atoms:
5    - name: _from_myshared
6    - name: _from_mystatic
7    - name: _from_fileo
8
9# CHECK: defined-atoms:
10# CHECK:   - name:            _from_fileo
11# CHECK:     content:         [ 2A, 00, 00, 00 ]
12# CHECK:   - name:            _from_mystatic
13# CHECK:     content:         [ 02, 00, 00, 00 ]
14# CHECK: shared-library-atoms:
15# CHECK:   - name:            _from_myshared
16# CHECK:     load-name:       libmyshared.dylib
17