solidity/test/libsolidity/smtCheckerTests/blockchain_state/this_does_not_change.sol

15 lines
318 B
Solidity
Raw Permalink Normal View History

2020-09-18 17:07:58 +00:00
contract C {
address t;
constructor() {
t = address(this);
}
function inv() public view {
assert(address(this) == t);
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
2021-10-06 09:53:03 +00:00
// SMTIgnoreOS: macos
2020-09-18 17:07:58 +00:00
// ----
2023-02-09 16:07:13 +00:00
// Info 1391: CHC: 1 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.