solidity/test/libsolidity/smtCheckerTests/verification_target/constant_condition_3.sol
2018-11-22 13:33:28 +00:00

10 lines
256 B
Solidity

pragma experimental SMTChecker;
// a plain literal constant is fine
contract C {
function f(uint) public pure {
if (true) { revert(); }
}
}
// ----
// Warning: (136-144): Assertion checker does not yet implement this type of function call.