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

6 lines
148 B
Solidity

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