solidity/test/libsolidity/smtCheckerTests/verification_target/constant_condition_3.sol
2020-09-15 11:46:33 +01:00

9 lines
164 B
Solidity

pragma experimental SMTChecker;
// a plain literal constant is fine
contract C {
function f(uint) public pure {
if (true) { revert(); }
}
}
// ----