[lit] Factor out separate methods for parallel and serial execution
[llvm-complete.git] / test / ObjectYAML / wasm / import_memory_shared.yaml
blob849bdc5314d1b1b7270fb5f67ca3e50027272d5c
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         ReturnType:      I32
10         ParamTypes:
11           - I32
12   - Type:            IMPORT
13     Imports:
14       - Module:          foo
15         Field:           imported_memory
16         Kind:            MEMORY
17         Memory:
18           Flags:           [ HAS_MAX, IS_SHARED ]
19           Initial:         0x00000010
20           Maximum:         0x00000011
22 ...
23 # CHECK: --- !WASM
24 # CHECK: FileHeader:
25 # CHECK:   Version:           0x00000001
26 # CHECK: Sections:
27 # CHECK:   - Type:            IMPORT
28 # CHECK:     Imports:         
29 # CHECK:       - Module:          foo
30 # CHECK:         Field:           imported_memory
31 # CHECK:         Kind:            MEMORY
32 # CHECK:         Memory:
33 # CHECK:           Flags:           [ HAS_MAX, IS_SHARED ]
34 # CHECK:           Initial:         0x00000010
35 # CHECK:           Maximum:         0x00000011
36 # CHECK: ...