[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / ObjectYAML / wasm / invalid_section_order.yaml
blob71767576979b0a305073e7c811d873d05c2cc4a1
1 # RUN: not yaml2obj %s -o /dev/null 2>&1 | FileCheck %s
3 --- !WASM
4 FileHeader:
5   Version:         0x00000001
6 Sections:
7   - Type:            TYPE
8     Signatures:
9       - Index:           0
10         ParamTypes:      []
11         ReturnTypes:     []
12   - Type:            CODE
13     Functions:
14       - Index:           0
15         Locals:          []
16         Body:            0B
17   # CHECK: yaml2obj: error: out of order section type: 3
18   - Type:            FUNCTION
19     FunctionTypes:   [ 0 ]
20 ...