hanchenye-llvm-project/lld/test/multiple-def-error.objtxt

21 lines
346 B
Plaintext

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