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

12 lines
168 B
Solidity

contract C {
function f() public {
try this.f() returns () {
} catch {
}
}
}
// ----
// ParserError 3546: (69-70): Expected type name