aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/3346.v
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2014-06-20 15:22:29 +0200
committerGravatar Matthieu Sozeau <mattam@mattam.org>2014-06-20 15:22:29 +0200
commitfb5750e4117a5455f7659fb7eec2b375a83e2e36 (patch)
tree4fa790a5328030f459a461a7f46af044d1cb2200 /test-suite/bugs/closed/3346.v
parentd6ce38cc3aa469446bad73dea3915ed9443751bd (diff)
Fix computation of inductive level in monomorphism + indices-matter mode.
Fixes bug #3346.
Diffstat (limited to 'test-suite/bugs/closed/3346.v')
-rw-r--r--test-suite/bugs/closed/3346.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3346.v b/test-suite/bugs/closed/3346.v
new file mode 100644
index 000000000..638404f2c
--- /dev/null
+++ b/test-suite/bugs/closed/3346.v
@@ -0,0 +1,4 @@
+(* -*- mode: coq; coq-prog-args: ("-emacs" "-indices-matter") -*- *)
+Monomorphic Inductive paths (A : Type) (a : A) : A -> Type := idpath : paths A a a.
+(* This should fail with -indices-matter *)
+Fail Check paths nat O O : Prop.