mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-12 12:48:59 +00:00
![Nick Kledzik](/assets/img/avatar_default.png)
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
19 lines
306 B
Plaintext
19 lines
306 B
Plaintext
# RUN: not lld-core %s 2> %t.err
|
|
# RUN: FileCheck < %t.err %s
|
|
|
|
#
|
|
# Test that an invalid hex byte produces a readable error.
|
|
#
|
|
|
|
---
|
|
atoms:
|
|
- name: entry
|
|
scope: hidden
|
|
content: [ A5, 00, 4G, 1F ]
|
|
|
|
...
|
|
|
|
|
|
# CHECK: error: Invalid content hex byte
|
|
# CHECK: 4G
|