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
18 lines
265 B
Plaintext
18 lines
265 B
Plaintext
# RUN: not lld-core %s 2> %t.err
|
|
# RUN: FileCheck < %t.err %s
|
|
|
|
#
|
|
# Test that a defined attribute on an undefined atom produces a readable error.
|
|
#
|
|
|
|
---
|
|
undefined-atoms:
|
|
- name: foo
|
|
type: code
|
|
|
|
...
|
|
|
|
|
|
# CHECK: error: unknown key 'type'
|
|
|