2019-09-03 16:31:17 +00:00
|
|
|
contract test {
|
|
|
|
function f() public returns (uint b) {
|
|
|
|
try this.f() returns (uint a) {
|
|
|
|
|
|
|
|
} catch Error(string memory message) {
|
|
|
|
|
|
|
|
} catch (bytes memory error) {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ====
|
|
|
|
// EVMVersion: >=byzantium
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 5667: (49-55): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
|
|
|
// Warning 5667: (89-95): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
|
|
|
|
// Warning 5667: (122-143): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
|
|
|
|
// Warning 5667: (165-183): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
|