Test for r194671.

llvm-svn: 194723
This commit is contained in:
Rui Ueyama 2013-11-14 19:18:54 +00:00
parent fef5d42ef3
commit 73ca00ca72
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# RUN: not lld -core %s 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
---
absolute-atoms:
- name: absatom
value: 0
scope: global
...
# CHECK: SymbolTable: error while merging absatom
# CHECK: LLVM ERROR: duplicate symbol error