test-suite/bugs/bug_14648.v
raw| 1 | Lemma foo : Prop. |
| 2 | Proof. |
| 3 | let bad := open_constr:(_ : nat) in |
| 4 | unshelve let bod := open_constr:((fun x : nat => _ : Prop) bad) in |
| 5 | let bod := eval cbv in bod in |
| 6 | exact bod. |
| 7 | exact True. |
| 8 | |
| 9 | Set Warnings "+remaining-shelved-goals". |
| 10 | Fail Qed. |
| 11 | Set Warnings "-remaining-shelved-goals". |
| 12 | Qed. |