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

9 lines
181 B
Solidity

contract C {
function f() public returns (uint, uint) {
try this.f() {
}
}
}
// ----
// ParserError: (97-98): Expected reserved keyword "catch" but got "}".