1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
16 Field: imported_function
20 Field: imported_global
25 Field: imported_memory
43 # CHECK: Version: 0x00000001
45 # CHECK: - Type: IMPORT
47 # CHECK: - Module: foo
48 # CHECK: Field: imported_function
49 # CHECK: Kind: FUNCTION
51 # CHECK: - Module: fiz
52 # CHECK: Field: imported_global
54 # CHECK: GlobalType: I32
55 # CHECK: GlobalMutable: false
56 # CHECK: - Module: foo
57 # CHECK: Field: imported_memory
60 # CHECK: Flags: [ HAS_MAX ]
61 # CHECK: Initial: 0x00000010
62 # CHECK: Maximum: 0x00000011
63 # CHECK: - Module: foo
64 # CHECK: Field: imported_table
67 # CHECK: ElemType: FUNCREF
69 # CHECK: Flags: [ HAS_MAX ]
70 # CHECK: Initial: 0x00000020
71 # CHECK: Maximum: 0x00000022