solidity/test/libsolidity/smtCheckerTests/try_catch/try_inside_if.sol
2021-04-08 21:03:39 +02:00

16 lines
295 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.