]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/core/error-fixup-target.objtxt
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / test / core / error-fixup-target.objtxt
1 # RUN: not lld -core %s 2> %t.err
2 # RUN: FileCheck %s < %t.err
3
4 #
5 # Test that unbindable target name produces a readable error.
6 #
7
8 ---
9 defined-atoms:
10     - name:          entry
11       scope:         hidden
12       references:
13       - offset:      3
14         kind:        pcrel32
15         target:      bar
16       - offset:      5
17         kind:        pcrel32
18         target:      baz
19
20 undefined-atoms:
21     - name:          bar
22
23 ...
24
25
26 # CHECK:  error: no such atom name: baz