]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/core/error-duplicate-absolutes.objtxt
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / test / core / error-duplicate-absolutes.objtxt
1 # RUN: not lld -core %s 2> %t.err
2 # RUN: FileCheck %s < %t.err
3
4 #
5 # Test that duplicate absolute atoms produces a readable error.
6 #
7
8 ---
9 absolute-atoms:
10     - name:         absatom
11       value:        0
12       scope:        global
13 undefined-atoms:
14     - name:         undefatom
15 ---
16 absolute-atoms:
17     - name:         absatom
18       value:        0
19       scope:        global
20 ...
21
22
23 # CHECK: SymbolTable: error while merging absatom
24 # CHECK: LLVM ERROR: duplicate symbol error