diff options
| author | Hugo Herbelin | 2015-11-07 10:47:34 +0100 |
|---|---|---|
| committer | Hugo Herbelin | 2015-11-07 10:47:34 +0100 |
| commit | 2f6daa7f4d0f4fae5a3fffdabf675d5b249ee377 (patch) | |
| tree | cc05840b59dfb748ad3f761224f29a940f592a7c /test-suite | |
| parent | 55a765faa95d7be9a1e4c37096139f57f288f55a (diff) | |
| parent | c5d380548ef5597b77c7ab1fce252704deefeaf1 (diff) | |
Merge remote-tracking branch 'origin/v8.5' into upstream-trunk
- Had to add a Sigma.to_evar_map
- Had to rework coqdep_common.ml{,i} and coqdep.ml
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/4273.v | 9 | ||||
| -rw-r--r-- | test-suite/complexity/f_equal.v | 14 |
2 files changed, 23 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4273.v b/test-suite/bugs/closed/4273.v new file mode 100644 index 0000000000..591ea4b5b2 --- /dev/null +++ b/test-suite/bugs/closed/4273.v @@ -0,0 +1,9 @@ + + +Set Primitive Projections. +Record total2 (P : nat -> Prop) := tpair { pr1 : nat; pr2 : P pr1 }. +Theorem onefiber' (q : total2 (fun y => y = 0)) : True. +Proof. assert (foo:=pr2 _ q). simpl in foo. + destruct foo. (* Error: q is used in conclusion. *) exact I. Qed. + +Print onefiber'.
\ No newline at end of file diff --git a/test-suite/complexity/f_equal.v b/test-suite/complexity/f_equal.v new file mode 100644 index 0000000000..86698fa872 --- /dev/null +++ b/test-suite/complexity/f_equal.v @@ -0,0 +1,14 @@ +(* Checks that f_equal does not reduce the term uselessly *) +(* Expected time < 1.00s *) + +Fixpoint stupid (n : nat) : unit := +match n with +| 0 => tt +| S n => + let () := stupid n in + let () := stupid n in + tt +end. + +Goal stupid 23 = stupid 23. +Timeout 5 Time f_equal. |
