llvm-project/lld/test/error-fixup-attribute.objtxt

23 lines
384 B
Plaintext
Raw Normal View History

# 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