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

14 lines
254 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract C
{
function f(address c) public view {
address a = msg.sender;
address b = msg.sender;
assert(a == b);
assert(c == msg.sender);
}
}
// ----
// Warning 4661: (155-178): Assertion violation happens here