solidity/test/libsolidity/smtCheckerTests/verification_target/constant_condition_3.sol

10 lines
158 B
Solidity
Raw Normal View History

// a plain literal constant is fine
contract C {
function f(uint) public pure {
if (true) { revert(); }
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----