solidity/test/libsolidity/smtCheckerTests/special/msg_sender_3.sol
2021-04-08 21:03:39 +02:00

21 lines
286 B
Solidity

contract C {
address owner;
constructor() {
owner = msg.sender;
assert(owner >= address(0)); // should hold
}
}
contract D {
address owner;
constructor() {
unchecked {
owner = msg.sender;
assert(owner >= address(0)); // should hold
}
}
}
// ====
// SMTEngine: all