solidity/test/libsolidity/smtCheckerTests/special/msg_sender_3.sol
2021-04-20 17:38:29 +02:00

23 lines
295 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
// ----