solidity/test/libsolidity/smtCheckerTests/try_catch/try_inside_if.sol
2022-04-01 23:41:18 -05:00

16 lines
302 B
Solidity

contract C {
function g(bool b) public {}
function f(bool b) public returns (bytes memory txt) {
if (0==1)
try this.g(b) {}
catch (bytes memory s) {
txt = s;
}
}
}
// ====
// SMTEngine: all
// ----
// Warning 6838: (109-113='0==1'): BMC: Condition is always false.