• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s | obj2yaml | FileCheck %s
2--- !WASM
3FileHeader:
4  Version:         0x00000001
5Sections:
6  - Type:            TABLE
7    Tables:         
8      - Index:           0
9        ElemType:        FUNCREF
10        Limits:
11          Flags:           [ HAS_MAX ]
12          Initial:         0x00000010
13          Maximum:         0x00000011
14...
15# CHECK: --- !WASM
16# CHECK: FileHeader:
17# CHECK:   Version:           0x1
18# CHECK: Sections:
19# CHECK:  - Type:            TABLE
20# CHECK:    Tables:
21# CHECK:      - Index:           0
22# CHECK:        ElemType:        FUNCREF
23# CHECK:        Limits:
24# CHECK:          Flags:           [ HAS_MAX ]
25# CHECK:          Initial:         0x10
26# CHECK:          Maximum:         0x11
27# CHECK: ...
28