summaryrefslogtreecommitdiffstats
path: root/lld/test/multiple-def-error.objtxt
blob: 62defbd52bc2395012a3ed86cae5adcec87ef7aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# RUN:  lld -core %s  2>&1  | FileCheck %s

#
# Test that multiple definitions cause an error
#

# CHECK: duplicate symbol

---
defined-atoms:
    - name:         _foo
      scope:        global
      type:         data
---
defined-atoms:
    - name:         _foo
      scope:        global
      type:         data
...
OpenPOWER on IntegriCloud