summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/2839.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/2839.v')
-rw-r--r--test-suite/bugs/closed/2839.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/2839.v b/test-suite/bugs/closed/2839.v
new file mode 100644
index 00000000..e396fe06
--- /dev/null
+++ b/test-suite/bugs/closed/2839.v
@@ -0,0 +1,10 @@
+(* Check a case where ltac typing error should result in error, not anomaly *)
+
+Goal forall (H : forall x : nat, x = x), False.
+intro.
+Fail
+ let H :=
+ match goal with
+ | [ H : appcontext G [@eq _ _] |- _ ] => let H' := context G[@plus 2] in H'
+ end
+ in pose H.