solidity/test/libsolidity/smtCheckerTests/control_flow/try_catch_2.sol

15 lines
322 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract C {
function f() public {
try this.f() {}
catch (bytes memory x) {
x;
}
}
}
// ====
// EVMVersion: >=byzantium
// ----
// Warning: (83-85): Assertion checker does not support try/catch clauses.
// Warning: (88-122): Assertion checker does not support try/catch clauses.