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

14 lines
243 B
Solidity
Raw Normal View History

2019-09-03 16:31:17 +00:00
contract C {
function f() public returns (uint, uint) {
try this.f() {
} catch Error(string memory x) {
x;
} catch (bytes memory x) {
x;
}
}
}
// ====
// EVMVersion: >=byzantium