Skip to content

Commit

Permalink
Merge pull request #731 from viperproject/meilers_fix_silicon_740
Browse files Browse the repository at this point in the history
Test case for Silicon issue #740
  • Loading branch information
marcoeilers authored Aug 14, 2023
2 parents 501f1ec + 18e73c6 commit c3cf35a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/test/resources/all/issues/silicon/0740.vpr
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/


field f: Bool

method fails(a: Bool)
{
var curr: Ref := null

while (curr != null)
invariant curr != null ==> acc(curr.f)
{
refute false
curr := null
}

//:: ExpectedOutput(assert.failed:assertion.false)
assert false
}

0 comments on commit c3cf35a

Please sign in to comment.