blob: f4ef9b3d06a3bf56684805b15a614d3eee051331 (
plain)
1
2
3
4
5
6
7
8
9
10
|
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
(import "foo" "bar" (global $baz i32))
(import "oof" "rab" (global $baz i32)))
(;; STDERR ;;;
out/test/parse/module/bad-import-global-redefinition.txt:5:4: error: redefinition of global "$baz"
(import "oof" "rab" (global $baz i32)))
^^^^^^
;;; STDERR ;;)
|