diff options
Diffstat (limited to 'test/lit/binary')
-rw-r--r-- | test/lit/binary/empty-param-name.test | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/lit/binary/empty-param-name.test b/test/lit/binary/empty-param-name.test index 2216d0bbb..aa89f3afc 100644 --- a/test/lit/binary/empty-param-name.test +++ b/test/lit/binary/empty-param-name.test @@ -1,4 +1,5 @@ -;; Test that we show a warning on an empty local name, and do not crash. +;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited. +;; Test that we handle an empty local name, and do not crash. ;; ;; The binary contains this, processed by wabt with debug names: ;; @@ -8,7 +9,7 @@ ;; Wabt emits a name for that parameter, but it is the empty string. See ;; https://github.com/WebAssembly/wabt/issues/1799 -;; RUN: wasm-opt %s.wasm 2>&1 | filecheck %s - -;; CHECK: warning: empty local name at index 0 in function foo +;; RUN: wasm-opt %s.wasm -S -o - | filecheck %s +;; CHECK: (type $0 (func (param i32))) +;; CHECK: (import "imports" "foo" (func $foo (param $"" i32))) |