solidity/test/libsolidity/syntaxTests/functionCalls/this_not_callable.sol

10 lines
195 B
Solidity
Raw Normal View History

contract C {
function f() public returns (uint, uint) {
try this() {
} catch Error(string memory) {
}
}
}
// ----
// TypeError 5704: (72-78): Type is not callable