summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lit/strings.wast5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lit/strings.wast b/test/lit/strings.wast
index e201b2bd7..859d49bee 100644
--- a/test/lit/strings.wast
+++ b/test/lit/strings.wast
@@ -1,8 +1,11 @@
;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
;; Check that string types are emitted properly in the binary format.
+;;
+;; runs --precompute in order to verify no problems occur in the optimizer's
+;; invocation of the interpreter.
-;; RUN: foreach %s %t wasm-opt --enable-strings --enable-reference-types --enable-gc --roundtrip -S -o - | filecheck %s
+;; RUN: foreach %s %t wasm-opt --enable-strings --enable-reference-types --enable-gc --roundtrip --precompute -S -o - | filecheck %s
(module
;; CHECK: (type $stringref_=>_none (func (param stringref)))