solidity/test/libsolidity/smtCheckerTests/modifiers/modifier_simple.sol
2021-04-08 21:03:39 +02:00

15 lines
141 B
Solidity

contract C
{
uint x;
modifier m {
require(x > 0);
_;
}
function f() m public view {
assert(x > 0);
}
}
// ====
// SMTEngine: all