[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / ObjectYAML / wasm / function_section.yaml
blob8bfe4fa7f58a4fe9205f9919a5429f7e0186924b
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 --- !WASM
3 FileHeader:
4   Version:         0x00000001
5 Sections:
6   - Type:            TYPE
7     Signatures:
8       - Index:           0
9         ParamTypes:
10         ReturnTypes:     []
11       - Index:           1
12         ParamTypes:
13           - I32
14         ReturnTypes:     []
15   - Type:            FUNCTION
16     FunctionTypes: [ 1, 0 ]
17   - Type:            CODE
18     Functions:
19       - Index:           0
20         Locals:
21         Body:            0B
22       - Index:           1
23         Locals:
24         Body:            0B
25 ...
26 # CHECK: --- !WASM
27 # CHECK: FileHeader:
28 # CHECK:   Version:           0x00000001
29 # CHECK: Sections:
30 # CHECK:   - Type:            FUNCTION
31 # CHECK:     FunctionTypes: [ 1, 0 ]
32 # CHECK: ...