mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
186 B
Solidity
12 lines
186 B
Solidity
|
pragma experimental SMTChecker;
|
||
|
|
||
|
contract C
|
||
|
{
|
||
|
address thisAddr;
|
||
|
function f(address a) public {
|
||
|
require(a == address(this));
|
||
|
thisAddr = a;
|
||
|
assert(thisAddr == address(this));
|
||
|
}
|
||
|
}
|