solidity/test/libsolidity/syntaxTests/tryCatch/two_low_level_catch_clauses.sol
2019-09-23 17:22:56 +02:00

15 lines
295 B
Solidity

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