test-suite/success/sideff.v
raw| 1 | Definition idw (A : Type) := A. |
| 2 | Lemma foobar : unit. |
| 3 | Proof. |
| 4 | Require Import Program.Basics Program.Tactics. |
| 5 | apply (const tt tt). |
| 6 | Qed. |
| 7 | |
| 8 | Set Nested Proofs Allowed. |
| 9 | |
| 10 | Lemma foobar' : unit. |
| 11 | Lemma aux : forall A : Type, A -> unit. |
| 12 | Proof. intros. pose (foo := idw A). exact tt. Show Universes. Qed. |
| 13 | apply (@aux unit tt). |
| 14 | Qed. |