aboutsummaryrefslogtreecommitdiff
path: root/test-suite/success
diff options
context:
space:
mode:
authorThéo Zimmermann2020-03-18 17:11:03 +0100
committerThéo Zimmermann2020-03-18 17:11:03 +0100
commit55490662517966d01a53ddd708709d1fc739286c (patch)
tree368e941af3ca3d63de2921bb59ace8ac88e6e5a8 /test-suite/success
parent4c2a4890b75d516acfeccdb4105e46760239a7f1 (diff)
parentc685a8a3690b3345dbc2770530e3da1b6639a654 (diff)
Merge PR #11812: Add an Export locality to hints
Reviewed-by: Zimmi48 Ack-by: gares Ack-by: maximedenes
Diffstat (limited to 'test-suite/success')
-rw-r--r--test-suite/success/export_hint.v22
1 files changed, 22 insertions, 0 deletions
diff --git a/test-suite/success/export_hint.v b/test-suite/success/export_hint.v
new file mode 100644
index 0000000000..e18f7c1bef
--- /dev/null
+++ b/test-suite/success/export_hint.v
@@ -0,0 +1,22 @@
+Create HintDb foo.
+
+Module Foo.
+
+Axiom F : False.
+
+#[export]
+Hint Immediate F : foo.
+
+End Foo.
+
+Goal False.
+Proof.
+Fail solve [auto with foo].
+Abort.
+
+Import Foo.
+
+Goal False.
+Proof.
+auto with foo.
+Qed.