Created by @vakaras on 2019-05-06 11:48
Last updated on 2019-05-08 09:13
The following example verifies in Silicon while it should not:
function Void$discriminant(self: Ref): Int
requires acc(Void(self))
ensures false
{
unfolding acc(Void(self)) in 8
}
predicate Void(self: Ref) {
false
}
method m_void$$unreachable$opensqu$0$closesqu$() returns (_0: Ref)
{
assert false
}
The following example verifies in Silicon while it should not: