Skip to content

Commit

Permalink
[test] Use registered module name in imports.wast (#951)
Browse files Browse the repository at this point in the history
Fixes issue #826.
  • Loading branch information
binji authored Jan 25, 2019
1 parent 89d69c4 commit 96c4188
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/core/imports.wast
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,8 @@
;; This module is required to validate, regardless of whether it can be
;; linked. Overloading is not possible in wasm itself, but it is possible
;; in modules from which wasm can import.
(module)
(register "not wasm")
(assert_unlinkable
(module
(import "not wasm" "overloaded" (func))
Expand Down

0 comments on commit 96c4188

Please sign in to comment.