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

22 lines
378 B
Plaintext

# RUN: not lld -core %s 2> %t.err
# RUN: FileCheck < %t.err %s
#
# Test that unknown fixup attribute produces a readable error.
#
---
defined-atoms:
- name: entry
scope: hidden
references:
- offset: 3
kind: pcrel32
weasel: bar
addend: 100
...
# CHECK: error: unknown key 'weasel'