aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-02-04 13:19:34 +0100
committerPierre-Marie Pédrot2019-02-04 13:19:34 +0100
commit127f1fe146264a87d7a8cb04ab8ea34201b5c93a (patch)
tree941b44ef3191544916f587de76f574d91545a7cb /test-suite
parent129d47518ae950c6ef1b69763e93cd70c14863f6 (diff)
parent25aaa4c5e9da90af41629d574dbc905f3781acd2 (diff)
Merge PR #9368: Discard argument names of section variables on section close
Reviewed-by: gares Reviewed-by: ppedrot
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_9367.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_9367.v b/test-suite/bugs/closed/bug_9367.v
new file mode 100644
index 0000000000..885f6bc391
--- /dev/null
+++ b/test-suite/bugs/closed/bug_9367.v
@@ -0,0 +1,12 @@
+Section foo.
+Variable f : forall n : nat, nat.
+Arguments f {_}.
+Check f (n := 3).
+Global Arguments f {bar} : rename.
+End foo.
+
+Section foo.
+Variable f : forall n : nat, nat.
+Arguments f {_}.
+Fail Check f (bar := 3).
+End foo.