2020-05-29 17:00:40 +00:00
pragma experimental SMTChecker ;
contract C {
function g ( ) public returns ( uint ) {
try this . g ( ) returns ( uint x ) { x ; }
catch Error ( string memory s ) { s ; }
}
}
// ====
// EVMVersion: >=byzantium
// ----
2020-10-08 10:47:47 +00:00
// Warning 6321: (75-79): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
2020-06-19 00:26:46 +00:00
// Warning 7645: (98-121): Assertion checker does not support try/catch clauses.
// Warning 7645: (124-159): Assertion checker does not support try/catch clauses.
2020-11-02 14:56:48 +00:00
// Warning 7645: (98-121): Assertion checker does not support try/catch clauses.
// Warning 7645: (124-159): Assertion checker does not support try/catch clauses.