diff --git a/parser_test.zig b/parser_test.zig index 1d88c2cc1c..9310b5c239 100644 --- a/parser_test.zig +++ b/parser_test.zig @@ -1798,3 +1798,10 @@ test "zig fmt: if-else with comment before else" { \\ ); } + +test "zig fmt: top-level tuple function call type" { + try testCanonical( + \\foo() + \\ + ); +}