mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
19 lines
184 B
Solidity
19 lines
184 B
Solidity
|
pragma experimental SMTChecker;
|
||
|
|
||
|
contract C {
|
||
|
|
||
|
modifier m() {
|
||
|
unchecked{}
|
||
|
_;
|
||
|
}
|
||
|
|
||
|
function t() m internal pure {}
|
||
|
|
||
|
function f() public pure {
|
||
|
unchecked { t(); }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
// ----
|