custom_section.yaml 422 Bytes
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !WASM
FileHeader:
  Version:         0x00000001
Sections:
  - Type:            CUSTOM
    Name:            foo
    Payload:         '0401020304'
...
# CHECK: --- !WASM
# CHECK: FileHeader:
# CHECK:   Version:           0x00000001
# CHECK: Sections:
# CHECK:  - Type:            CUSTOM
# CHECK:    Name:            foo
# CHECK:    Payload:         '0401020304'
# CHECK: ...