2013-04-05 02:59:24 +08:00
|
|
|
# RUN: not lld -core %s 2> %t.err
|
2012-05-04 07:55:34 +08:00
|
|
|
# RUN: FileCheck < %t.err %s
|
|
|
|
|
|
|
|
#
|
|
|
|
# Test that unknown atom 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
|
|
|
|
foobar: true
|
|
|
|
dead-strip: never
|
|
|
|
|
|
|
|
...
|
|
|
|
|
|
|
|
|
2013-01-05 10:22:35 +08:00
|
|
|
# CHECK: error: unknown key 'foobar'
|
2012-05-04 07:55:34 +08:00
|
|
|
# CHECK: foobar
|