[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / ObjectYAML / wasm / target-features-section.yaml
blob22d2645095d77144e623688742e99202629074b0
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 --- !WASM
3 FileHeader:
4   Version:         0x00000001
5 Sections:
6   - Type:            CUSTOM
7     Name:            target_features
8     Features:
9       - Prefix:        USED
10         Name:          "foo"
11       - Prefix:        REQUIRED
12         Name:          "bar"
13       - Prefix:        DISALLOWED
14         Name:          ""
15 ...
16 # CHECK-LABEL:  Sections:
17 # CHECK-NEXT:     - Type:            CUSTOM
18 # CHECK-NEXT:       Name:            target_features
19 # CHECK-NEXT:       Features:
20 # CHECK-NEXT:         - Prefix:        USED
21 # CHECK-NEXT:           Name:          foo
22 # CHECK-NEXT:         - Prefix:        REQUIRED
23 # CHECK-NEXT:           Name:          bar
24 # CHECK-NEXT:         - Prefix:        DISALLOWED
25 # CHECK-NEXT:           Name:          ''