hanchenye-llvm-project/lld/test/core/error-atom-attribute.objtxt

20 lines
326 B
Plaintext

# RUN: not lld -core %s 2> %t.err
# RUN: FileCheck %s < %t.err
#
# Test that unknown atom attribute produces a readable error.
#
---
defined-atoms:
- name: entry
scope: hidden
foobar: true
dead-strip: never
...
# CHECK: error: unknown key 'foobar'
# CHECK: foobar