aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-07-09 16:09:35 +0200
committerGaëtan Gilbert2020-07-09 16:09:35 +0200
commit34e69c881e72466e31c30b4d7ec6881d54f55a45 (patch)
treedd9347428a827623c807d9e459585efc1af2c64e
parent577ec77f17a872d6bc36073ceeb3cf582fcf01c4 (diff)
Add test for #10890 derive vs abstract
-rw-r--r--test-suite/success/bug_10890.v8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/success/bug_10890.v b/test-suite/success/bug_10890.v
new file mode 100644
index 0000000000..37b6c816cc
--- /dev/null
+++ b/test-suite/success/bug_10890.v
@@ -0,0 +1,8 @@
+Require Import Derive.
+
+Derive foo SuchThat (foo = foo :> nat) As bar.
+Proof.
+ Unshelve.
+ 2:abstract exact 0.
+ exact eq_refl.
+Defined. (* or Qed: anomaly kernel doesn't support existential variables *)