mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
338 B
Solidity
16 lines
338 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: (150-205): This try statement already has an "Error" catch clause.
|