From 96c41889bfae7deb221d45db0e1c6c7fe2919721 Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Fri, 25 Jan 2019 08:43:26 -0800 Subject: [PATCH] [test] Use registered module name in imports.wast (#951) Fixes issue #826. --- test/core/imports.wast | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/core/imports.wast b/test/core/imports.wast index 721182f3..2f0200dc 100644 --- a/test/core/imports.wast +++ b/test/core/imports.wast @@ -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))