Fix macho-merged-funcs-dwarf.yaml test on Windows
[llvm-project.git] / llvm / test / ObjectYAML / wasm / import_memory_shared.yaml
blob123181011e0c3dd5f4ef9742fe5c2d97f8fd91ba
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           - I32
11         ReturnTypes:
12           - I32
13   - Type:            IMPORT
14     Imports:
15       - Module:          foo
16         Field:           imported_memory
17         Kind:            MEMORY
18         Memory:
19           Flags:           [ HAS_MAX, IS_SHARED ]
20           Minimum:         0x00000010
21           Maximum:         0x00000011
23 ...
24 # CHECK: --- !WASM
25 # CHECK: FileHeader:
26 # CHECK:   Version:           0x1
27 # CHECK: Sections:
28 # CHECK:   - Type:            IMPORT
29 # CHECK:     Imports:
30 # CHECK:       - Module:          foo
31 # CHECK:         Field:           imported_memory
32 # CHECK:         Kind:            MEMORY
33 # CHECK:         Memory:
34 # CHECK:           Flags:           [ HAS_MAX, IS_SHARED ]
35 # CHECK:           Minimum:         0x10
36 # CHECK:           Maximum:         0x11
37 # CHECK: ...