forked from OSchip/llvm-project
23 lines
384 B
Plaintext
23 lines
384 B
Plaintext
|
# RUN: not lld-core %s 2> %t.err
|
||
|
# RUN: FileCheck < %t.err %s
|
||
|
|
||
|
#
|
||
|
# Test that unknown fixup attribute produces a readable error.
|
||
|
#
|
||
|
|
||
|
---
|
||
|
atoms:
|
||
|
- name: entry
|
||
|
scope: hidden
|
||
|
fixups:
|
||
|
- offset: 3
|
||
|
kind: 3
|
||
|
weasel: bar
|
||
|
addend: 100
|
||
|
|
||
|
...
|
||
|
|
||
|
|
||
|
# CHECK: error: Unknown fixup attribute
|
||
|
# CHECK: weasel
|