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

12 lines
163 B
Solidity
Raw Normal View History

2019-09-03 16:31:17 +00:00
contract C {
function f() public {
try this.f() returns () {
} catch {
}
}
}
// ----
// ParserError: (69-70): Expected type name