Skip to content
Snippets Groups Projects
Commit 78116194 authored by Ralf Jung's avatar Ralf Jung
Browse files

test wp_free

parent 84d2a9ea
No related branches found
No related tags found
No related merge requests found
......@@ -218,6 +218,18 @@ Section tests.
iIntros "[$ _]". (* splits the fraction, not the app *)
Qed.
Lemma test_wp_free l v :
{{{ l v }}} Free #l {{{ RET #(); True }}}.
Proof.
iIntros (Φ) "Hl HΦ". wp_free. iApply "HΦ". done.
Qed.
Lemma test_twp_free l v :
[[{ l v }]] Free #l [[{ RET #(); True }]].
Proof.
iIntros (Φ) "Hl HΦ". wp_free. iApply "HΦ". done.
Qed.
End tests.
Section inv_mapsto_tests.
......
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