solidity/test/libsolidity/syntaxTests/tryCatch/two_low_level_catch_clauses.sol

15 lines
300 B
Solidity

contract C {
function f() public returns (uint, uint) {
try this.f() {
} catch {
} catch (bytes memory y) {
y;
}
}
}
// ====
// EVMVersion: >=byzantium
// ----
// TypeError 5320: (112-161): This try statement already has a low-level catch clause.