1# RUN: yaml2obj %s | obj2yaml | FileCheck %s 2--- !WASM 3FileHeader: 4 Version: 0x00000001 5Sections: 6 - Type: TYPE 7 Signatures: 8 - Index: 0 9 ReturnType: I32 10 ParamTypes: 11 - I32 12 - Type: IMPORT 13 Imports: 14 - Module: foo 15 Field: a 16 Kind: FUNCTION 17 SigIndex: 0 18 - Module: foo 19 Field: b 20 Kind: FUNCTION 21 SigIndex: 0 22 - Module: foo 23 Field: c 24 Kind: FUNCTION 25 SigIndex: 0 26 - Type: CUSTOM 27 Name: name 28 FunctionNames: 29 - Index: 1 30 Name: foo 31 - Index: 0 32 Name: bar 33... 34# CHECK: - Type: CUSTOM 35# CHECK-NEXT: Name: name 36# CHECK-NEXT: FunctionNames: 37# CHECK-NEXT: - Index: 1 38# CHECK-NEXT: Name: foo 39# CHECK-NEXT: - Index: 0 40# CHECK-NEXT: Name: bar 41# CHECK: ... 42