solidity/test/libsolidity/syntaxTests/functionTypes/private_function_type.sol

8 lines
190 B
Solidity
Raw Normal View History

2018-03-16 10:20:06 +00:00
contract C {
function f() public {
function(uint) private returns (uint) x;
}
}
2018-03-16 10:33:05 +00:00
// ----
// TypeError 6012: (47-86): Invalid visibility, can only be "external" or "internal".