[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / ObjectYAML / wasm / table_section.yaml
blob90e73fdd40bc6f179ce44a7e66f94f7edecd0e0e
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 --- !WASM
3 FileHeader:
4   Version:         0x00000001
5 Sections:
6   - Type:            TABLE
7     Tables:         
8       - ElemType:        FUNCREF
9         Limits:
10           Flags:           [ HAS_MAX ]
11           Initial:         0x00000010
12           Maximum:         0x00000011
13 ...
14 # CHECK: --- !WASM
15 # CHECK: FileHeader:
16 # CHECK:   Version:           0x00000001
17 # CHECK: Sections:
18 # CHECK:  - Type:            TABLE
19 # CHECK:    Tables:         
20 # CHECK:      - ElemType:        FUNCREF
21 # CHECK:        Limits:
22 # CHECK:          Flags:           [ HAS_MAX ]
23 # CHECK:          Initial:         0x00000010
24 # CHECK:          Maximum:         0x00000011
25 # CHECK: ...