solidity/test/libsolidity/smtCheckerTests/special/msg_sender_2.sol

13 lines
194 B
Solidity
Raw Normal View History

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);
}
}
// ----