solidity/test/libsolidity/smtCheckerTests/unchecked/unchecked_double_with_modifier.sol

19 lines
184 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract C {
modifier m() {
unchecked{}
_;
}
function t() m internal pure {}
function f() public pure {
unchecked { t(); }
}
}
// ----