aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2014-04-05 14:05:04 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2014-04-05 14:05:04 +0200
commit7399d4b3da04e0464b0c47f6c0b3c948599f6873 (patch)
treeb9b94ddef8481d48c5be77dc7a5dd96972d1eccd
parent8c3455e2f5db09e70cd7a40a96856f5be79adaff (diff)
Test for bug #3142, actually duplicate of #3262.
-rw-r--r--test-suite/bugs/closed/3142.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3142.v b/test-suite/bugs/closed/3142.v
new file mode 100644
index 000000000..988074e2f
--- /dev/null
+++ b/test-suite/bugs/closed/3142.v
@@ -0,0 +1,9 @@
+(* Fixed together with #3262 in 48af6d1418282323b9fff0e789fed9478c064434 *)
+(* April 4, 2014 (non-progress in candidates was not detected) *)
+
+Definition eqbool_dep (P : bool -> Prop) (h1 : P true) (b : bool) (h2 : P b)
+ : Prop :=
+(match b (* return P b -> Prop *) with
+ | true => fun (h : P true) => h1 = h
+ | false => fun (_ : P false) => False
+end (* : P b -> Prop *)) h2.