mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
301 B
Solidity
15 lines
301 B
Solidity
|
pragma experimental SMTChecker;
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// ----
|
||
|
// Warning 6838: (141-145): BMC: Condition is always false.
|