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

15 lines
262 B
Plaintext

# RUN: not lld -core %s %p/Inputs/multiple-def-error.objtxt 2>&1 | FileCheck %s
#
# Test that multiple definitions cause an error
#
# CHECK: duplicate symbol
---
defined-atoms:
- name: _foo
scope: global
type: data
...