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

11 lines
183 B
Solidity

contract C {
function f() public returns (uint, uint) {
try this.f() returns (uint a, uint b) {
a = 1;
b = 2;
} catch {
}
}
}