diff options
Diffstat (limited to 'test-suite/failure/Case15.v')
-rw-r--r-- | test-suite/failure/Case15.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/failure/Case15.v b/test-suite/failure/Case15.v new file mode 100644 index 00000000..a27b07f8 --- /dev/null +++ b/test-suite/failure/Case15.v @@ -0,0 +1,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.
\ No newline at end of file |