aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/3537.v
blob: 158642f01d9eb4b3d9b052b1b949c00cc105b71b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(* Another instance of bug #3262, on looping in unification *)

Inductive bool := true | false.

Inductive RBT2 : forall a:bool, Type :=
 Full2 : forall (a b c n:bool),
            forall H:RBT2 n, RBT2 n.

Definition balance4 color p q r :=
  match color, p, q, r with
      | _,_,_,_ => Full2 color p q r
  end.