|
# 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
|
|
fixups:
|
|
- offset: 3
|
|
kind: 3
|
|
weasel: bar
|
|
addend: 100
|
|
|
|
...
|
|
|
|
|
|
# CHECK: error: unknown key 'weasel'
|