hanchenye-llvm-project/lld/test/core/error-atom-content-byte-val...

19 lines
315 B
Plaintext
Raw Normal View History

# RUN: not lld -core %s 2> %t.err
# RUN: FileCheck %s < %t.err
#
# Test that an invalid hex byte produces a readable error.
#
---
defined-atoms:
- name: entry
scope: hidden
content: [ A5, 00, 4G, 1F ]
...
# CHECK: error: invalid two-digit-hex number
# CHECK: 4G