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

9 lines
180 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() {
}
}
}
// ----
// ParserError: (97-98): Expected reserved keyword 'catch' but got '}'