diff options
| author | Matthieu Sozeau | 2014-06-20 15:22:29 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2014-06-20 15:22:29 +0200 |
| commit | fb5750e4117a5455f7659fb7eec2b375a83e2e36 (patch) | |
| tree | 4fa790a5328030f459a461a7f46af044d1cb2200 /test-suite/bugs/closed | |
| parent | d6ce38cc3aa469446bad73dea3915ed9443751bd (diff) | |
Fix computation of inductive level in monomorphism + indices-matter mode.
Fixes bug #3346.
Diffstat (limited to 'test-suite/bugs/closed')
| -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 0000000000..638404f2cb --- /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. |
