llvm-project/lld/test/error-fixup-target.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

27 lines
452 B
Plaintext

# RUN: not lld-core %s 2> %t.err
# RUN: FileCheck < %t.err %s
#
# Test that unbindable target name produces a readable error.
#
---
defined-atoms:
- name: entry
scope: hidden
fixups:
- offset: 3
kind: 3
target: bar
- offset: 5
kind: 3
target: baz
undefined-atoms:
- name: bar
...
# CHECK: error: no such atom name: baz