# RUN: yaml2obj %s | obj2yaml | FileCheck %s | |
--- !WASM | |
FileHeader: | |
Version: 0x00000001 | |
Sections: | |
- Type: TYPE | |
Signatures: | |
- Index: 0 | |
ParamTypes: | |
- F32 | |
- F32 | |
ReturnTypes: | |
- I32 | |
- Index: 1 | |
ParamTypes: | |
- F64 | |
- F64 | |
ReturnTypes: | |
- I64 | |
... | |
# CHECK: --- !WASM | |
# CHECK: FileHeader: | |
# CHECK: Version: 0x1 | |
# CHECK: Sections: | |
# CHECK: - Type: TYPE | |
# CHECK: Signatures: | |
# CHECK: - Index: 0 | |
# CHECK: ParamTypes: | |
# CHECK: - F32 | |
# CHECK: - F32 | |
# CHECK: ReturnTypes: | |
# CHECK: - I32 | |
# CHECK: - Index: 1 | |
# CHECK: ParamTypes: | |
# CHECK: - F64 | |
# CHECK: - F64 | |
# CHECK: ReturnTypes: | |
# CHECK: - I64 | |
# CHECK: ... |