|
# RUN: lld-core %s 2>&1 | FileCheck %s
|
|
|
|
#
|
|
# Test that multiple definitions cause an error
|
|
#
|
|
|
|
# CHECK: duplicate symbol
|
|
|
|
---
|
|
atoms:
|
|
- name: _foo
|
|
definition: regular
|
|
scope: global
|
|
type: data
|
|
---
|
|
atoms:
|
|
- name: _foo
|
|
definition: regular
|
|
scope: global
|
|
type: data
|
|
...
|