2012-05-04 07:55:34 +08:00
|
|
|
# RUN: not lld-core %s 2> %t.err
|
|
|
|
# RUN: FileCheck < %t.err %s
|
|
|
|
|
|
|
|
#
|
|
|
|
# Test that unknown fixup attribute produces a readable error.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
2013-01-05 10:22:35 +08:00
|
|
|
defined-atoms:
|
2012-05-04 07:55:34 +08:00
|
|
|
- name: entry
|
|
|
|
scope: hidden
|
2013-01-09 05:12:13 +08:00
|
|
|
references:
|
2012-05-04 07:55:34 +08:00
|
|
|
- offset: 3
|
|
|
|
kind: 3
|
|
|
|
weasel: bar
|
|
|
|
addend: 100
|
|
|
|
|
|
|
|
...
|
|
|
|
|
|
|
|
|
2013-01-05 10:22:35 +08:00
|
|
|
# CHECK: error: unknown key 'weasel'
|