aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/missing_argument_in_named_args.sol
blob: f7c3fb310ae46578b6f3e5aadfe9eec684f77250 (plain) (blame)
1
2
3
4
5
6
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({a: , b: , c: }); }
}
// ----
// ParserError: (146-147): Expected primary expression.