test-suite/bugs/bug_12608.v
raw| 1 | Require Import Derive. |
| 2 | Derive A in (A = 1) as B. |
| 3 | Proof using Type. |
| 4 | unfold A;reflexivity. |
| 5 | Qed. |
| 6 | |
| 7 | Section S. |
| 8 | Variable n : nat. |
| 9 | |
| 10 | Derive (A':nat) in nat as B'. |
| 11 | Proof using . |
| 12 | Unshelve. |
| 13 | all:exact n. |
| 14 | Fail Qed. |
| 15 | Abort. |
| 16 | |
| 17 | Derive (A':nat) in nat as B'. |
| 18 | Proof using n. |
| 19 | Unshelve. |
| 20 | all:exact n. |
| 21 | Qed. |
| 22 | End S. |