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

10 lines
158 B
Solidity

// a plain literal constant is fine
contract C {
function f(uint) public pure {
if (true) { revert(); }
}
}
// ====
// SMTEngine: all
// ----