solidity/test/libsolidity/smtCheckerTests/loops/for_loop_1.sol

11 lines
171 B
Solidity
Raw Normal View History

contract C {
function f(uint x) public pure {
require(x == 2);
for (;;) {}
assert(x == 2);
}
}
// ====
2021-03-31 15:11:54 +00:00
// SMTEngine: all
// SMTSolvers: z3