llvm-project/lld/test/core/error-duplicate-absolutes.o...

20 lines
420 B
Plaintext
Raw Normal View History

# RUN: not lld -core %s %p/Inputs/error-duplicate-absolutes.objtxt 2> %t.err
2013-11-15 03:18:54 +08:00
# 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