summaryrefslogtreecommitdiffstats
path: root/lld/test/error-atom-content-bytes.objtxt
blob: f887da56953cc94b8fad79c13dfd8e73d2798c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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.
#

---
defined-atoms:
    - name:         entry
      scope:        hidden
      content:      [ A5, 1234, 00, 4F ]
  
...


# CHECK:       error: out of range two-digit-hex number
# CHECK:       1234

OpenPOWER on IntegriCloud