summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-import-table-redefinition.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/module/bad-import-table-redefinition.txt')
-rw-r--r--test/parse/module/bad-import-table-redefinition.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parse/module/bad-import-table-redefinition.txt b/test/parse/module/bad-import-table-redefinition.txt
index 997f0c57..ced5fa8c 100644
--- a/test/parse/module/bad-import-table-redefinition.txt
+++ b/test/parse/module/bad-import-table-redefinition.txt
@@ -1,10 +1,10 @@
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
- (import "foo" "bar" (table $baz 0 anyfunc))
- (import "foo" "blah" (table $baz 0 anyfunc)))
+ (import "foo" "bar" (table $baz 0 funcref))
+ (import "foo" "blah" (table $baz 0 funcref)))
(;; STDERR ;;;
out/test/parse/module/bad-import-table-redefinition.txt:5:4: error: redefinition of table "$baz"
- (import "foo" "blah" (table $baz 0 anyfunc)))
+ (import "foo" "blah" (table $baz 0 funcref)))
^^^^^^
;;; STDERR ;;)