diff options
Diffstat (limited to 'test-suite/failure/Case16.v')
-rw-r--r-- | test-suite/failure/Case16.v | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/failure/Case16.v b/test-suite/failure/Case16.v new file mode 100644 index 00000000..f994a8f2 --- /dev/null +++ b/test-suite/failure/Case16.v @@ -0,0 +1,9 @@ +(* Check for redundant clauses *) + +Check [x]Cases x x of + O (S (S y)) => true + | (S _) (S (S y)) => true + | _ (S (S x)) => false + | (S y) O => true + | _ _ => true +end. |