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

9 lines
180 B
Solidity

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