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

23 lines
295 B
Solidity
Raw Normal View History

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
}
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----