solidity/test/libsolidity/smtCheckerTests/modifiers/modifier_simple.sol

15 lines
141 B
Solidity
Raw Normal View History

2019-03-11 20:06:28 +00:00
contract C
{
uint x;
modifier m {
require(x > 0);
_;
}
function f() m public view {
assert(x > 0);
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all