summaryrefslogtreecommitdiffstats
path: root/lld/test/error-atom-content-bytes.objtxt
blob: 49ada258c99b06df26f9722dc627149cc4051a4c (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