summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lit/passes/O1_skip.wast5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lit/passes/O1_skip.wast b/test/lit/passes/O1_skip.wast
index c57d052b4..ebbf9df4a 100644
--- a/test/lit/passes/O1_skip.wast
+++ b/test/lit/passes/O1_skip.wast
@@ -1,11 +1,14 @@
;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
;; NOTE: This test was ported using port_passes_tests_to_lit.py and could be cleaned up.
-;; RUN: foreach %s %t wasm-opt -O2 --coalesce-locals --skip-pass=coalesce-locals -S -o - | filecheck %s
+;; RUN: foreach %s %t wasm-opt -O2 --coalesce-locals --skip-pass=coalesce-locals -S -o - 2>&1 | filecheck %s
;; We should skip coalese-locals even though it is run in -O2 and also we ask to
;; run it directly: the skip instruction overrides everything else.
+;; There should also be no warning in the output.
+;; CHECK-NOT: warning:
+
(module
;; CHECK: (type $i32_i32_=>_none (func (param i32 i32)))