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.
30 lines
763 B
30 lines
763 B
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
|
--- !WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: CUSTOM
|
|
Name: producers
|
|
Languages:
|
|
- Name: C++
|
|
Version: C++11
|
|
Tools:
|
|
- Name: clang
|
|
Version: 123
|
|
SDKs:
|
|
- Name: emscripten
|
|
Version: 9001
|
|
...
|
|
# CHECK: Sections:
|
|
# CHECK: - Type: CUSTOM
|
|
# CHECK: Name: producers
|
|
# CHECK: Languages:
|
|
# CHECK: - Name: 'C++'
|
|
# CHECK: Version: 'C++11'
|
|
# CHECK: Tools:
|
|
# CHECK: - Name: clang
|
|
# CHECK: Version: '123'
|
|
# CHECK: SDKs:
|
|
# CHECK: - Name: emscripten
|
|
# CHECK: Version: '9001'
|