Skip to content

Commit fb86777

Browse files
authored
Test for Silicon issue 892 (#837)
1 parent 16a0027 commit fb86777

File tree

1 file changed

+23
-0
lines changed
  • src/test/resources/all/issues/silicon

1 file changed

+23
-0
lines changed

Diff for: src/test/resources/all/issues/silicon/0892.vpr

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Any copyright is dedicated to the Public Domain.
2+
// http://creativecommons.org/publicdomain/zero/1.0/
3+
4+
5+
predicate P(r: Ref) {
6+
Q(r) &&
7+
unfolding Q(r) in true
8+
}
9+
10+
predicate Q(r: Ref) {true}
11+
12+
predicate R(r: Ref) {
13+
P(r) && unfolding P(r) in true
14+
}
15+
16+
method test01(r: Ref) returns ()
17+
requires P(r)
18+
{
19+
fold acc(R(r), wildcard)
20+
21+
//:: ExpectedOutput(assert.failed:assertion.false)
22+
assert false
23+
}

0 commit comments

Comments
 (0)