aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorcoqbot-app[bot]2020-10-01 17:57:00 +0000
committerGitHub2020-10-01 17:57:00 +0000
commit2855edead8813e48618041e21a467e83019b470d (patch)
tree09c88b05dd90aff01780eb17bf17dadce840b570 /test-suite
parentb842e83ce941c995dfb266eee33c73e565785554 (diff)
parent4cc71d010174abcbeb793df514446fa2ec7d1b29 (diff)
Merge PR #13114: Reimplement Admit Obligations using standard Admitted code
Reviewed-by: ejgallego
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/bug_13109.v24
1 files changed, 24 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_13109.v b/test-suite/bugs/closed/bug_13109.v
new file mode 100644
index 0000000000..76511a44c5
--- /dev/null
+++ b/test-suite/bugs/closed/bug_13109.v
@@ -0,0 +1,24 @@
+Require Import Coq.Program.Tactics.
+
+Set Universe Polymorphism.
+Obligation Tactic := idtac.
+
+Program Definition foo : Type := _.
+Program Definition bar : Type := _.
+Admit Obligations.
+(* Error: Anomaly "Uncaught exception AcyclicGraph.Make(Point).AlreadyDeclared."
+Please report at http://coq.inria.fr/bugs/.
+ *)
+Print foo.
+Print foo_obligation_1.
+Print bar.
+Print bar_obligation_1.
+
+Program Definition baz : Type := _.
+Admit Obligations of baz.
+Print baz.
+Print baz_obligation_1.
+
+Admit Obligations.
+
+Fail Admit Obligations of nobody.