diff options
Diffstat (limited to 'test/parse/module/bad-import-memory-redefinition.txt')
-rw-r--r-- | test/parse/module/bad-import-memory-redefinition.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/parse/module/bad-import-memory-redefinition.txt b/test/parse/module/bad-import-memory-redefinition.txt new file mode 100644 index 00000000..1610382a --- /dev/null +++ b/test/parse/module/bad-import-memory-redefinition.txt @@ -0,0 +1,9 @@ +;;; ERROR: 1 +(module + (import "foo" "bar" (memory $baz 0)) + (import "foo" "blah" (memory $baz 0))) +(;; STDERR ;;; +parse/module/bad-import-memory-redefinition.txt:4:3: redefinition of memory "$baz" + (import "foo" "blah" (memory $baz 0))) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +;;; STDERR ;;) |