test272
auto test272 =
q{--- test272.vx
// named arguments
i32 func(i32 param1, i32 param2, i32 param3) { return param1 * 40 + param2 * 20 + param3; }
i32 call_0() { return func(1, 2, 3); }
i32 call_1() { return func(param1: 1, 2, 3); }
i32 call_2() { return func(1, param2: 2, 3); }
i32 call_3() { return func(1, 2, param3: 3); }
i32 call_4() { return func(param1: 1, param2: 2, 3); }
i32 call_5() { return func(param2: 2, 3, param1: 1, ); }
i32 call_6() { return func(param1: 1, 2, param3: 3); }
i32 call_7() { return func(param3: 3, param1: 1, 2); }
i32 call_8() { return func(1, param2: 2, param3: 3); }
i32 call_9() { return func(1, param3: 3, param2: 2); }
i32 call10() { return func(param1: 1, param2: 2, param3: 3); }
i32 call11() { return func(param1: 1, param3: 3, param2: 2); }
i32 call12() { return func(param2: 2, param1: 1, param3: 3); }
i32 call13() { return func(param2: 2, param3: 3, param1: 1); }
i32 call14() { return func(param3: 3, param1: 1, param2: 2); }
i32 call15() { return func(param3: 3, param2: 2, param1: 1); }
};
tests passing
functionsvariables