aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2010-04-10 15:56:47 +0000
committerherbelin2010-04-10 15:56:47 +0000
commit7199bf67d9a4eed780e1330ded1644501d2f9872 (patch)
treeb4d4933a6783fe6156228bafd3716c3f9f84fd84
parent1f9670eb2e372ac02382b16be481e0bbda2d4691 (diff)
Test for bug #2231 (unexpected error when using let/if over an inductive
parameter in the type of a constructor). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12918 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--test-suite/bugs/closed/shouldsucceed/2231.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/2231.v b/test-suite/bugs/closed/shouldsucceed/2231.v
new file mode 100644
index 0000000000..03e2c9bbf4
--- /dev/null
+++ b/test-suite/bugs/closed/shouldsucceed/2231.v
@@ -0,0 +1,3 @@
+Inductive unit2 : Type := U : unit -> unit2.
+Inductive dummy (u: unit2) : unit -> Type :=
+ V: dummy u (let (tt) := u in tt).