commit 1dbad132ec2cc80b7ba20ae18c38f76776cec780 (tree) parent a6688d7e56ae3a52f679ed8a11467ce28bc0986e Author: Motiejus Jakštys <motiejus.jakstys@chronosphere.io> Date: Tue, 10 Feb 2026 14:36:37 +0000 parser: port test "top-level bare asterisk+identifier" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Diffstat:
| M | parser_test.zig | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/parser_test.zig b/parser_test.zig @@ -1805,3 +1805,10 @@ test "zig fmt: top-level tuple function call type" { \\ ); } + +test "zig fmt: top-level bare asterisk+identifier" { + try testCanonical( + \\*x + \\ + ); +}