solidity/test/libsolidity/smtCheckerTests/try_catch/try_inside_if.sol
2023-05-11 10:56:55 -05:00

15 lines
294 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): BMC: Condition is always false.