diff options
author | Matthieu Sozeau <mattam@mattam.org> | 2014-06-20 15:22:29 +0200 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2014-06-20 15:22:29 +0200 |
commit | fb5750e4117a5455f7659fb7eec2b375a83e2e36 (patch) | |
tree | 4fa790a5328030f459a461a7f46af044d1cb2200 /test-suite/bugs/closed/3346.v | |
parent | d6ce38cc3aa469446bad73dea3915ed9443751bd (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.v | 4 |
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. |