solidity/test/libsolidity/smtCheckerTests/blockchain_state/this_does_not_change.sol
2020-10-12 11:11:52 +01:00

13 lines
172 B
Solidity

pragma experimental SMTChecker;
contract C {
address t;
constructor() {
t = address(this);
}
function inv() public view {
assert(address(this) == t);
}
}
// ----