summaryrefslogtreecommitdiff
path: root/test/parse/func/bad-param-redefinition.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/func/bad-param-redefinition.txt')
-rw-r--r--test/parse/func/bad-param-redefinition.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/parse/func/bad-param-redefinition.txt b/test/parse/func/bad-param-redefinition.txt
new file mode 100644
index 00000000..4a57f312
--- /dev/null
+++ b/test/parse/func/bad-param-redefinition.txt
@@ -0,0 +1,5 @@
+;;; ERROR: 1
+(module (func (param $n i32) (param $n f32)))
+(;; STDERR ;;;
+parse/func/bad-param-redefinition.txt:2:31: redefinition of parameter "$n"
+;;; STDERR ;;)