Skip to content

Commit

Permalink
Test for Carbon issue #391 (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers authored Dec 30, 2024
1 parent 92c0914 commit 6ddaa1b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/test/resources/all/issues/carbon/0391.vpr
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/

predicate p()

method mmmm()
{
//:: ExpectedOutput(exhale.failed:qp.not.injective)
//:: ExpectedOutput(exhale.failed:insufficient.permission)
//:: MissingOutput(exhale.failed:insufficient.permission, /silicon/issue/34/)
exhale forall i: Int :: p()
}

method mmmm2()
{
//:: ExpectedOutput(inhale.failed:qp.not.injective)
inhale forall i: Int :: p()
}
1 change: 0 additions & 1 deletion src/test/resources/all/issues/silicon/0595.vpr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ predicate P()

method test()
requires P()
//:: IgnoreFile(/carbon/issue/391/)
ensures forall i: Int :: i == 0 ==> P()
{}

Expand Down

0 comments on commit 6ddaa1b

Please sign in to comment.