aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorpboutill2010-05-20 12:57:40 +0000
committerpboutill2010-05-20 12:57:40 +0000
commitea188f154f86960008df67fa0266a3aa648ff1e7 (patch)
treedcc392b3078d369f2994a6fc81d209526005d45a /test-suite
parente7fc963667a6cfbf9f8516f49ea1dcb9d6779f2d (diff)
Fix bug 2307
Evars of source "ImpossibleCase" that remain undefined at the end of case analysis are now defined to ID (forall A : Type, A -> A). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13023 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/shouldsucceed/2307.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/2307.v b/test-suite/bugs/closed/shouldsucceed/2307.v
new file mode 100644
index 0000000000..7c04949539
--- /dev/null
+++ b/test-suite/bugs/closed/shouldsucceed/2307.v
@@ -0,0 +1,3 @@
+Inductive V: nat -> Type := VS n: V (S n).
+Definition f (e: V 1): nat := match e with VS 0 => 3 end.
+