aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorJasper Hugunin2019-01-20 19:22:09 -0800
committerJasper Hugunin2019-01-20 19:22:09 -0800
commit25aaa4c5e9da90af41629d574dbc905f3781acd2 (patch)
tree784abe20cdf3bd408f067122027d87b7ea8d9ea8 /test-suite
parent051b6efe1d730afe1a08eecac71282e24c4d4523 (diff)
Discard argument names of section variables on section close
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.