# RUN: yaml2obj %s -o %t.wasm # RUN: not llvm-readobj --symbols %t.wasm 2>&1 | FileCheck %s # CHECK: error: '{{.*}}': invalid data segment name entry --- !WASM FileHeader: Version: 0x1 Sections: - Type: MEMORY Memories: - Minimum: 0x1 - Type: DATA Segments: - SectionOffset: 0 InitFlags: 0 Offset: Opcode: I32_CONST Value: 0 Content: '' - Type: CUSTOM Name: name DataSegmentNames: - Index: 1 Name: invalid_data_segment_name