summaryrefslogtreecommitdiff
path: root/test/ObjectYAML/wasm/function_section.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/ObjectYAML/wasm/function_section.yaml')
-rw-r--r--test/ObjectYAML/wasm/function_section.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/ObjectYAML/wasm/function_section.yaml b/test/ObjectYAML/wasm/function_section.yaml
new file mode 100644
index 0000000000000..39e6b75d5cdcb
--- /dev/null
+++ b/test/ObjectYAML/wasm/function_section.yaml
@@ -0,0 +1,17 @@
+# RUN: yaml2obj %s | obj2yaml | FileCheck %s
+--- !WASM
+FileHeader:
+ Version: 0x00000001
+Sections:
+ - Type: FUNCTION
+ FunctionTypes:
+ - 1
+ - 0
+...
+# CHECK: --- !WASM
+# CHECK: FileHeader:
+# CHECK: Version: 0x00000001
+# CHECK: Sections:
+# CHECK: - Type: FUNCTION
+# CHECK: FunctionTypes: [ 1, 0 ]
+# CHECK: ...