• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s | obj2yaml | FileCheck %s
2--- !WASM
3FileHeader:
4  Version:         0x00000001
5Sections:
6  - Type:            GLOBAL
7    Globals:         
8      - Index:       0
9        Type:        I32
10        Mutable:     false
11        InitExpr:
12          Opcode:          I64_CONST
13          Value:           -5
14...
15# CHECK: --- !WASM
16# CHECK: FileHeader:
17# CHECK:   Version:           0x00000001
18# CHECK: Sections:
19# CHECK:  - Type:            GLOBAL
20# CHECK:    Globals:
21# CHECK:      - Index:       0
22# CHECK:        Type:        I32
23# CHECK:        Mutable:     false
24# CHECK:        InitExpr:
25# CHECK:          Opcode:          I64_CONST
26# CHECK:          Value:           -5
27# CHECK: ...
28