llvm-project/lld/test/multiple-def-error.objtxt
Nick Kledzik 6b079f5e2f Removes files for separate ReaderYAML.cpp and WriterYAML.cpp
and adds a new file ReaderWriterYAML.cpp that uses YAML I/O.

Lots of tweaks to test suite for slightly different YAML encoding.

llvm-svn: 171592
2013-01-05 02:22:35 +00:00

20 lines
319 B
Plaintext

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