summaryrefslogtreecommitdiff
path: root/test/spec/start.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/start.txt')
-rw-r--r--test/spec/start.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/spec/start.txt b/test/spec/start.txt
index 3ba46c1c..70cbb90e 100644
--- a/test/spec/start.txt
+++ b/test/spec/start.txt
@@ -13,6 +13,14 @@ assert_invalid error:
out/third_party/testsuite/start.wast:16:5: start function must be nullary
(start $main)
^^^^^^^^^^^^^
+out/third_party/testsuite/start.wast:2: assert_invalid passed:
+ error: @0x00000015: invalid start function index
+out/third_party/testsuite/start.wast:7: assert_invalid passed:
+ error: start function must not return anything
+ error: @0x00000016: on_start_function callback failed
+out/third_party/testsuite/start.wast:14: assert_invalid passed:
+ error: start function must be nullary
+ error: @0x00000016: on_start_function callback failed
inc() =>
inc() =>
inc() =>
@@ -20,5 +28,5 @@ inc() =>
called host spectest.print(i32:1) =>
called host spectest.print(i32:2) =>
called host spectest.print() =>
-11/11 tests passed.
+14/14 tests passed.
;;; STDOUT ;;)