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

13 lines
172 B
Solidity
Raw Normal View History

2020-09-18 17:07:58 +00:00
pragma experimental SMTChecker;
contract C {
address t;
constructor() {
t = address(this);
}
function inv() public view {
assert(address(this) == t);
}
}
// ----