summaryrefslogtreecommitdiffstats
path: root/lld/test/COFF/invalid-obj.test
blob: 6f76c3702aa79cd5a2e0697109499fa23597e0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# RUN: yaml2obj %s > %t.obj
# RUN: not lld-link %t.obj 2>&1 | FileCheck %s

# CHECK: getSectionName failed: #1:

--- !COFF
header:
  Machine:         IMAGE_FILE_MACHINE_AMD64
  Characteristics: []
sections:
  - Name:            '/1'
    Characteristics: []
    SectionData:     00
symbols:
OpenPOWER on IntegriCloud