summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-import-table-shared.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/module/bad-import-table-shared.txt')
-rw-r--r--test/parse/module/bad-import-table-shared.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parse/module/bad-import-table-shared.txt b/test/parse/module/bad-import-table-shared.txt
index d0a0f3d8..7a91f43f 100644
--- a/test/parse/module/bad-import-table-shared.txt
+++ b/test/parse/module/bad-import-table-shared.txt
@@ -1,10 +1,10 @@
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
- (import "foo" "bar" (table 0 3 shared anyfunc))
+ (import "foo" "bar" (table 0 3 shared funcref))
)
(;; STDERR ;;;
out/test/parse/module/bad-import-table-shared.txt:4:4: error: tables may not be shared
- (import "foo" "bar" (table 0 3 shared anyfunc))
+ (import "foo" "bar" (table 0 3 shared funcref))
^^^^^^
;;; STDERR ;;)