mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
292 B
Solidity
14 lines
292 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
function f() public view {
|
|
require(msg.sender != address(0));
|
|
address a = msg.sender;
|
|
address b = msg.sender;
|
|
assert(a == b);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (98-108): Type conversion is not yet fully supported and might yield false positives.
|