diff options
Diffstat (limited to 'test/lit/stdin-stdout.wast')
-rw-r--r-- | test/lit/stdin-stdout.wast | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/lit/stdin-stdout.wast b/test/lit/stdin-stdout.wast new file mode 100644 index 000000000..8aa9fe89a --- /dev/null +++ b/test/lit/stdin-stdout.wast @@ -0,0 +1,13 @@ +;; NOTE: Assertions have been generated by update_lit_checks.py and should not be edited. +;; RUN: wasm-opt < %s - -S -o - | filecheck %s + +;; Test that file `-` is interpreted as stdin and stdout. + +(module + ;; CHECK: (func $foo + ;; CHECK-NEXT: (nop) + ;; CHECK-NEXT: ) + (func $foo + (nop) + ) +) |