aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorHugo Herbelin2015-02-15 11:55:51 +0100
committerHugo Herbelin2015-02-16 12:22:53 +0100
commit4e6c9891140932f452bb5ac8960d597b0b5fde1d (patch)
treea7fbf48a609ba8eee1ff16a7f38b5c604246f9c1 /test-suite
parent5f0a8667e880eeca9e79687091cd8db2256e950c (diff)
Fixing bug #4035 (support for dependent destruction within ltac code).
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/4035.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4035.v b/test-suite/bugs/closed/4035.v
new file mode 100644
index 0000000000..24f340bbd9
--- /dev/null
+++ b/test-suite/bugs/closed/4035.v
@@ -0,0 +1,7 @@
+(* Use of dependent destruction from ltac *)
+Require Import Program.
+Goal nat -> Type.
+ intro x.
+ lazymatch goal with
+ | [ x : nat |- _ ] => dependent destruction x
+ end.