solidity/test/libsolidity/smtCheckerTests/special/msg_sender_fail_1.sol
2021-03-30 17:55:21 +02:00

16 lines
289 B
Solidity

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);
}
}
// ====
// SMTIgnoreCex: yes
// ----
// Warning 6328: (155-178): CHC: Assertion violation happens here.