You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
791 B
26 lines
791 B
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
|
--- !WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: CUSTOM
|
|
Name: target_features
|
|
Features:
|
|
- Prefix: USED
|
|
Name: "foo"
|
|
- Prefix: REQUIRED
|
|
Name: "bar"
|
|
- Prefix: DISALLOWED
|
|
Name: ""
|
|
...
|
|
# CHECK-LABEL: Sections:
|
|
# CHECK-NEXT: - Type: CUSTOM
|
|
# CHECK-NEXT: Name: target_features
|
|
# CHECK-NEXT: Features:
|
|
# CHECK-NEXT: - Prefix: USED
|
|
# CHECK-NEXT: Name: foo
|
|
# CHECK-NEXT: - Prefix: REQUIRED
|
|
# CHECK-NEXT: Name: bar
|
|
# CHECK-NEXT: - Prefix: DISALLOWED
|
|
# CHECK-NEXT: Name: ''
|