summaryrefslogtreecommitdiff
path: root/test-suite/failure/cases.v
blob: a27b07f8766927c0f74d4e73b636d78186eaa432 (plain)
1
2
3
4
5
6
(* Non exhaustive pattern-matching *)

Check [x]Cases x x of
    O (S (S y)) => true
  | O (S x) => false
  | (S y) O => true end.