mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
313 B
Solidity
15 lines
313 B
Solidity
contract C {
|
|
address t;
|
|
constructor() {
|
|
t = address(this);
|
|
}
|
|
function inv() public view {
|
|
assert(address(this) == t);
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// SMTIgnoreOS: macos
|
|
// ----
|
|
// Info 1180: Contract invariant(s) for :C:\n(((address(this) + ((- 1) * t)) <= 0) && ((address(this) + ((- 1) * t)) >= 0))\n
|