solidity/test/libsolidity/syntaxTests/tryCatch/invalid_error_name.sol
2021-02-02 16:14:44 +01:00

11 lines
232 B
Solidity

contract C {
function f() public returns (uint, uint) {
try this.f() {
} catch Error2() {
} catch abc() {
}
}
}
// ----
// DeclarationError 7920: (99-105): Identifier not found or not unique.