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

12 lines
232 B
Solidity
Raw Normal View History

2020-10-20 13:30:46 +00:00
contract C {
function f() public {
try this.f() {
} catch Panic(bytes memory) {
}
}
}
// ====
// EVMVersion: >=byzantium
// ----
// TypeError 1271: (72-109): Expected `catch Panic(uint ...) { ... }`.