mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
21 lines
286 B
Solidity
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 |