1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
15 Field: imported_function
19 Field: imported_global
24 Field: imported_memory
42 # CHECK: Version: 0x00000001
44 # CHECK: - Type: IMPORT
46 # CHECK: - Module: foo
47 # CHECK: Field: imported_function
48 # CHECK: Kind: FUNCTION
50 # CHECK: - Module: fiz
51 # CHECK: Field: imported_global
53 # CHECK: GlobalType: I32
54 # CHECK: GlobalMutable: false
55 # CHECK: - Module: foo
56 # CHECK: Field: imported_memory
59 # CHECK: Flags: [ HAS_MAX ]
60 # CHECK: Initial: 0x00000010
61 # CHECK: Maximum: 0x00000011
62 # CHECK: - Module: foo
63 # CHECK: Field: imported_table
66 # CHECK: ElemType: FUNCREF
68 # CHECK: Flags: [ HAS_MAX ]
69 # CHECK: Initial: 0x00000020
70 # CHECK: Maximum: 0x00000022