aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/opened/3889.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/opened/3889.v')
-rw-r--r--test-suite/bugs/opened/3889.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/opened/3889.v b/test-suite/bugs/opened/3889.v
new file mode 100644
index 000000000..6b287324c
--- /dev/null
+++ b/test-suite/bugs/opened/3889.v
@@ -0,0 +1,11 @@
+Require Import Program.
+
+Inductive Even : nat -> Prop :=
+| evenO : Even O
+| evenS : forall n, Odd n -> Even (S n)
+with Odd : nat -> Prop :=
+| oddS : forall n, Even n -> Odd (S n).
+Axiom admit : forall {T}, T.
+Program Fixpoint doubleE {n} (e : Even n) : Even (2 * n) := admit
+with doubleO {n} (o : Odd n) : Odd (S (2 * n)) := _.
+Next Obligation of doubleE.