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

6 lines
143 B
Solidity
Raw Normal View History

contract C {
function(uint) returns (bool ret) f;
}
// ----
// SyntaxError: (41-49): Return parameters in function types may not be named.