summaryrefslogtreecommitdiff
path: root/test/ObjectYAML/wasm/start_section.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/ObjectYAML/wasm/start_section.yaml')
-rw-r--r--test/ObjectYAML/wasm/start_section.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/ObjectYAML/wasm/start_section.yaml b/test/ObjectYAML/wasm/start_section.yaml
new file mode 100644
index 000000000000..41301a620037
--- /dev/null
+++ b/test/ObjectYAML/wasm/start_section.yaml
@@ -0,0 +1,15 @@
+# RUN: yaml2obj %s | obj2yaml | FileCheck %s
+--- !WASM
+FileHeader:
+ Version: 0x00000001
+Sections:
+ - Type: START
+ StartFunction: 1
+...
+# CHECK: --- !WASM
+# CHECK: FileHeader:
+# CHECK: Version: 0x00000001
+# CHECK: Sections:
+# CHECK: - Type: START
+# CHECK: StartFunction: 1
+# CHECK: ...