From a1858ecd34bd7946dab7e7fbf2413036f78f7109 Mon Sep 17 00:00:00 2001 From: herbelin Date: Thu, 15 Aug 2002 10:15:42 +0000 Subject: Test for redundant clauses git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2968 85f007b7-540e-0410-9357-904b9bb8a0f7 --- test-suite/failure/Case16.v | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test-suite/failure/Case16.v (limited to 'test-suite') diff --git a/test-suite/failure/Case16.v b/test-suite/failure/Case16.v new file mode 100644 index 0000000000..f994a8f2fa --- /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. -- cgit v1.2.3