diff options
Diffstat (limited to 'test/core/error-atom-content-bytes.objtxt')
-rw-r--r-- | test/core/error-atom-content-bytes.objtxt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/core/error-atom-content-bytes.objtxt b/test/core/error-atom-content-bytes.objtxt new file mode 100644 index 0000000000000..a8a82b2b45e19 --- /dev/null +++ b/test/core/error-atom-content-bytes.objtxt @@ -0,0 +1,19 @@ +# RUN: not lld -core %s 2> %t.err +# RUN: FileCheck %s < %t.err + +# +# Test that an out of range byte value produces a readable error. +# + +--- +defined-atoms: + - name: entry + scope: hidden + content: [ A5, 1234, 00, 4F ] + +... + + +# CHECK: error: out of range two-digit-hex number +# CHECK: 1234 + |