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

22 lines
359 B
Plaintext

# 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
...