summaryrefslogtreecommitdiff
path: root/src/cmd/gofmt/testdata/comments.input
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/gofmt/testdata/comments.input')
-rw-r--r--src/cmd/gofmt/testdata/comments.input9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/gofmt/testdata/comments.input b/src/cmd/gofmt/testdata/comments.input
new file mode 100644
index 000000000..ad6bcafaf
--- /dev/null
+++ b/src/cmd/gofmt/testdata/comments.input
@@ -0,0 +1,9 @@
+package main
+
+func main() {}
+
+// comment here
+
+func f() {}
+
+//line foo.go:1