summaryrefslogtreecommitdiff
path: root/test/spec/table-sub.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/table-sub.txt')
-rw-r--r--test/spec/table-sub.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/spec/table-sub.txt b/test/spec/table-sub.txt
new file mode 100644
index 00000000..4f70e144
--- /dev/null
+++ b/test/spec/table-sub.txt
@@ -0,0 +1,11 @@
+;;; TOOL: run-interp-spec
+;;; STDIN_FILE: third_party/testsuite/table-sub.wast
+(;; STDOUT ;;;
+out/test/spec/table-sub.wast:2: assert_invalid passed:
+ error: type mismatch at table.copy. got externref, expected funcref
+ 000002a: error: OnTableCopyExpr callback failed
+out/test/spec/table-sub.wast:13: assert_invalid passed:
+ error: type mismatch at table.init. got externref, expected funcref
+ 000002d: error: OnTableInitExpr callback failed
+2/2 tests passed.
+;;; STDOUT ;;)