summaryrefslogtreecommitdiff
path: root/test-suite/failure/Case16.v
blob: 3739adae01b21f6a952b3165eb6f64df0f9f8181 (plain)
1
2
3
4
5
6
7
8
9
10
11
(* Check for redundant clauses *)

Check
  (fun x =>
   match x, x with
   | O, S (S y) => true
   | S _, S (S y) => true
   | _, S (S x) => false
   | S y, O => true
   | _, _ => true
   end).