solidity/test/libsolidity/syntaxTests/functionTypes/function_type_return_parameters_with_names.sol
2018-06-18 00:05:06 +02:00

6 lines
143 B
Solidity

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