Skip to content

Commit

Permalink
Test for Silicon issue 892 (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers authored Feb 2, 2025
1 parent 16a0027 commit fb86777
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/test/resources/all/issues/silicon/0892.vpr
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/


predicate P(r: Ref) {
Q(r) &&
unfolding Q(r) in true
}

predicate Q(r: Ref) {true}

predicate R(r: Ref) {
P(r) && unfolding P(r) in true
}

method test01(r: Ref) returns ()
requires P(r)
{
fold acc(R(r), wildcard)

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

0 comments on commit fb86777

Please sign in to comment.