aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/failure/Case15.v
blob: ec08e6142f0d911a613bbf602c2cb34b54d8cc6c (plain)
1
2
3
4
5
6
7
8
9
(* Non exhaustive pattern-matching *)

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