llvm-project/lld/test/core/error-atom-attribute.objtxt
Shankar Easwaran df4f12bb65 [lld][test] organize test directory. No change in functionality
* Renames few tests which had extension objtxt to test
* created core directory that contains all the core tests

llvm-svn: 189720
2013-08-31 05:59:52 +00:00

20 lines
330 B
Plaintext

# RUN: not lld -core %s 2> %t.err
# RUN: FileCheck < %t.err %s
#
# Test that unknown atom attribute produces a readable error.
#
---
defined-atoms:
- name: entry
scope: hidden
foobar: true
dead-strip: never
...
# CHECK: error: unknown key 'foobar'
# CHECK: foobar