diff options
author | Samuel Mimram <smimram@debian.org> | 2006-04-28 14:59:16 +0000 |
---|---|---|
committer | Samuel Mimram <smimram@debian.org> | 2006-04-28 14:59:16 +0000 |
commit | 2c4a6b4efe55a2c6ca9ca7b185723e7909e57269 (patch) | |
tree | e1542c8adb83ff297284eefc23a2703461713d9b /test-suite/failure/cases.v | |
parent | 514dce2dfe717e3ed2e37dce6467b56219d451c1 (diff) | |
parent | 3ef7797ef6fc605dfafb32523261fe1b023aeecb (diff) |
Merge commit 'upstream/8.0pl3+8.1alpha' into 8.0pl3+8.1alpha
Diffstat (limited to 'test-suite/failure/cases.v')
-rw-r--r-- | test-suite/failure/cases.v | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test-suite/failure/cases.v b/test-suite/failure/cases.v index a27b07f8..18faaf5c 100644 --- a/test-suite/failure/cases.v +++ b/test-suite/failure/cases.v @@ -1,6 +1,9 @@ (* Non exhaustive pattern-matching *) -Check [x]Cases x x of - O (S (S y)) => true - | O (S x) => false - | (S y) O => true end.
\ No newline at end of file +Check + (fun x => + match x, x with + | O, S (S y) => true + | O, S x => false + | S y, O => true + end). |