Files
clang-p2996/lld/test/error-atom-content-bytes.objtxt
Nick Kledzik 3011259a85 Rework how YAMLReader is layered on top of YAMLParser. Turn hand written
recursive descent functions into one table driven parser.  Add proper
error recovery and reporting.  Add lots of test cases with semantics errors
and verify error messages.

llvm-svn: 156136
2012-05-03 23:55:34 +00:00

20 lines
323 B
Plaintext

# RUN: not lld-core %s 2> %t.err
# RUN: FileCheck < %t.err %s
#
# Test that an out of range byte value produces a readable error.
#
---
atoms:
- name: entry
scope: hidden
content: [ A5, 1234, 00, 4F ]
...
# CHECK: error: Content hex byte out of range
# CHECK: 1234