solidity/test/libsolidity/syntaxTests/types/mapping/function_type_argument_external.sol
2018-08-13 16:33:37 +02:00

7 lines
186 B
Solidity

contract C {
function f(function(mapping(uint=>uint) storage) external) public pure {
}
}
// ----
// TypeError: (37-56): Internal type cannot be used for external function type.