Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
lint test case
Co-authored-by: Alon Zakai <[email protected]>
  • Loading branch information
mtb0x1 and kripken authored Aug 26, 2024
commit d638947004f12c535e212e0cd0717db42a1f34f2
12 changes: 7 additions & 5 deletions test/lit/validation/function-missing.wast
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
;; RUN: not wasm-opt %s -all 2>&1 | filecheck %s

(module
;; CHECK: function not defined
(global (mut i32)(block))
;; CHECK: function not defined
(global (mut i32) (block))

;; CHECK: function not defined
(global (mut i32)(return_call 0))
(func $0(return_call 0)(return_call 0))
;; CHECK: function not defined
(global (mut i32) (return_call 0))

(func $0
)
)