mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
343 B
Solidity
16 lines
343 B
Solidity
contract C {
|
|
function f() public returns (uint, uint) {
|
|
try this.f() {
|
|
|
|
} catch Error(string memory x) {
|
|
x;
|
|
} catch Error(string memory y) {
|
|
y;
|
|
}
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// ----
|
|
// TypeError 1036: (150-205): This try statement already has an "Error" catch clause.
|