# RUN: not lld -core %s %p/Inputs/error-duplicate-absolutes.objtxt 2> %t.err | |
# RUN: FileCheck %s < %t.err | |
# | |
# Test that duplicate absolute atoms produces a readable error. | |
# | |
--- | |
absolute-atoms: | |
- name: absatom | |
value: 0 | |
scope: global | |
undefined-atoms: | |
- name: undefatom | |
... | |
# CHECK: SymbolTable: error while merging absatom | |
# CHECK: LLVM ERROR: duplicate symbol error |