Skip to content
Snippets Groups Projects
Commit eef6260f authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add test case.

parent c9c90cf6
No related branches found
No related tags found
No related merge requests found
...@@ -239,6 +239,14 @@ Proof. ...@@ -239,6 +239,14 @@ Proof.
iFrame. iFrame.
Qed. Qed.
Lemma test_iExists_unused : ( P : PROP, x : nat, P)%I.
Proof.
iExists _.
iExists 10.
iAssert emp%I as "H"; first done.
iExact "H".
Qed.
(* Check coercions *) (* Check coercions *)
Lemma test_iExist_coercion (P : Z PROP) : ( x, P x) -∗ x, P x. Lemma test_iExist_coercion (P : Z PROP) : ( x, P x) -∗ x, P x.
Proof. iIntros "HP". iExists (0:nat). iApply ("HP" $! (0:nat)). Qed. Proof. iIntros "HP". iExists (0:nat). iApply ("HP" $! (0:nat)). Qed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment