# RUN: yaml2obj %s | obj2yaml | FileCheck %s
---
FileHeader:
Version: 0x00000001
Sections:
- Type: TABLE
Tables:
- Index: 0
ElemType: FUNCREF
Limits:
Flags:
Minimum: 0x00000010
Maximum: 0x00000011
...
# CHECK: --- !WASM
# CHECK: FileHeader:
# CHECK: Version: 0x1
# CHECK: Sections:
# CHECK: - Type: TABLE
# CHECK: Tables:
# CHECK: - Index: 0
# CHECK: ElemType: FUNCREF
# CHECK: Limits:
# CHECK: Flags: [ HAS_MAX ]
# CHECK: Minimum: 0x10
# CHECK: Maximum: 0x11
# CHECK: ...