aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-01-06 10:33:09 +0100
committerGaëtan Gilbert2020-01-06 10:36:35 +0100
commit54986ed77297f7fe53cdc0cca360c9a6ac206a1f (patch)
tree1e3d52ac4014f1ca7f0a431d72c9ef63f42701ad /test-suite
parent793bddef6b4f615297e9f9088cd0b603c56b2014 (diff)
Fix #11360: discharge of template inductive with param only use of var
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_11360.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_11360.v b/test-suite/bugs/closed/bug_11360.v
new file mode 100644
index 0000000000..d8bc4a9f02
--- /dev/null
+++ b/test-suite/bugs/closed/bug_11360.v
@@ -0,0 +1,6 @@
+Section S.
+ Variable (A:Type).
+ #[universes(template)]
+ Inductive bar (d:A) := .
+End S.
+Check bar nat 0.