mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Tests.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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
|
||||
// ----
|
||||
// Warning: (49-55): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning: (89-95): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning: (122-143): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning: (165-183): Unused try/catch parameter. Remove or comment out the variable name to silence this warning.
|
||||
Reference in New Issue
Block a user