solidity/test/libsolidity/syntaxTests/parsing/missing_parameter_name_in_named_args.sol
2018-05-03 22:10:51 +01:00

7 lines
237 B
Solidity

contract test {
function a(uint a, uint b, uint c) returns (uint r) { r = a * 100 + b * 10 + c * 1; }
function b() returns (uint r) { r = a({: 1, : 2, : 3}); }
}
// ----
// ParserError: (143-143): Expected token Identifier got 'Colon'