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

17 lines
150 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
// ----