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

12 lines
192 B
Solidity
Raw Normal View History

2020-10-20 13:30:46 +00:00
contract C {
function f() public {
try this.f() {
} catch Error(string memory) {
} catch Panic(uint) {
}
}
}
// ====
// EVMVersion: >=byzantium
// ----