summaryrefslogtreecommitdiff
path: root/src/pkg/go/printer/testdata/comments.golden
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/go/printer/testdata/comments.golden')
-rw-r--r--src/pkg/go/printer/testdata/comments.golden8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pkg/go/printer/testdata/comments.golden b/src/pkg/go/printer/testdata/comments.golden
index 2d4f43444..4242688f5 100644
--- a/src/pkg/go/printer/testdata/comments.golden
+++ b/src/pkg/go/printer/testdata/comments.golden
@@ -381,6 +381,14 @@ func _() {
// Some interesting interspersed comments
func _( /* this */ x /* is */ /* an */ int) {}
+func _( /* no params */ ) {}
+
+func _() {
+ f( /* no args */ )
+}
+
+func ( /* comment1 */ T /* comment2 */ ) _() {}
+
// Line comments with tabs
func _() {