# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !WASM
FileHeader:
Version: 0x00000001
Sections:
- Type: MEMORY
Memories:
- Flags: [ HAS_MAX ]
Minimum: 0x00000002
Maximum: 0x000000FF
- Minimum: 0x00000003
...
# CHECK: --- !WASM
# CHECK: FileHeader:
# CHECK: Version: 0x1
# CHECK: Sections:
# CHECK: - Type: MEMORY
# CHECK: Memories:
# CHECK: - Flags: [ HAS_MAX ]
# CHECK: Minimum: 0x2
# CHECK: Maximum: 0xFF
# CHECK: - Minimum: 0x3
# CHECK: ...