blob: 8bfe4fa7f58a4fe9205f9919a5429f7e0186924b [file] [log] [blame]
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !WASM
FileHeader:
Version: 0x00000001
Sections:
- Type: TYPE
Signatures:
- Index: 0
ParamTypes:
ReturnTypes: []
- Index: 1
ParamTypes:
- I32
ReturnTypes: []
- Type: FUNCTION
FunctionTypes: [ 1, 0 ]
- Type: CODE
Functions:
- Index: 0
Locals:
Body: 0B
- Index: 1
Locals:
Body: 0B
...
# CHECK: --- !WASM
# CHECK: FileHeader:
# CHECK: Version: 0x00000001
# CHECK: Sections:
# CHECK: - Type: FUNCTION
# CHECK: FunctionTypes: [ 1, 0 ]
# CHECK: ...