aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/4354.v
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2015-10-04 14:50:45 +0200
committerGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2015-10-06 10:01:19 +0200
commit07f4e6b07775052cc1c5dc34cdfa7ad4eacfa94f (patch)
tree4bb7a90d8474b038434b732fb24b9b9d69e937c3 /test-suite/bugs/closed/4354.v
parentefce61af32ff1b09a21dcf88bca7d6609a0bfd27 (diff)
Fix bug #4354: interpret hints in the right env and sigma.
Diffstat (limited to 'test-suite/bugs/closed/4354.v')
-rw-r--r--test-suite/bugs/closed/4354.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4354.v b/test-suite/bugs/closed/4354.v
new file mode 100644
index 000000000..6a2f9672d
--- /dev/null
+++ b/test-suite/bugs/closed/4354.v
@@ -0,0 +1,10 @@
+Inductive True : Prop := I.
+Class Lift (T : Type).
+Axiom closed_increment : forall {T} {H : Lift T}, True.
+Create HintDb core.
+Lemma closed_monotonic T (H : Lift T) : True.
+ auto using closed_increment. Show Universes.
+Qed.
+
+(* also fails with -nois, so the content of the hint database does not matter
+*) \ No newline at end of file