diff options
| author | Pierre-Marie Pédrot | 2020-03-06 15:36:34 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-03-06 15:36:34 +0100 |
| commit | 56b6e41c162f1aabd9e17ace7ceeab9afd556fe4 (patch) | |
| tree | 9a627962a27b7fe57fc6c9a74b013ad84f6c4ac6 /test-suite | |
| parent | a68458fa48d0a08f03d28d5fce90198d059975fc (diff) | |
| parent | e33bca2f54fea713822454ef4c85b801abc9709b (diff) | |
Merge PR #11723: Fix mishandling of sigma in guess_elim (regression from 8.11)
Reviewed-by: ppedrot
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_11722.v | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_11722.v b/test-suite/bugs/closed/bug_11722.v new file mode 100644 index 0000000000..d4bd5f48b2 --- /dev/null +++ b/test-suite/bugs/closed/bug_11722.v @@ -0,0 +1,20 @@ +Require Import Program. +Set Universe Polymorphism. + +Inductive paths@{i} (A : Type@{i}) (a : A) : A -> Type@{i} := + idpath : paths A a a. + +Inductive nat := + | O : nat + | S : nat -> nat. + +Axiom cheat : forall {A}, A. + +Program Definition foo@{i} : forall x : nat, paths@{i} nat x x := _. +Next Obligation. + destruct x. + constructor. + apply cheat. +Defined. (* FIXED: Universe unbound error *) + +Check foo@{_}. |
