summaryrefslogtreecommitdiff
path: root/src/cmd/gofmt/testdata/stdin2.input.gofmt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/gofmt/testdata/stdin2.input.gofmt')
-rw-r--r--src/cmd/gofmt/testdata/stdin2.input.gofmt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd/gofmt/testdata/stdin2.input.gofmt b/src/cmd/gofmt/testdata/stdin2.input.gofmt
new file mode 100644
index 000000000..7eb1b54fe
--- /dev/null
+++ b/src/cmd/gofmt/testdata/stdin2.input.gofmt
@@ -0,0 +1,11 @@
+
+
+var x int
+
+func f() {
+ y := z
+ /* this is a comment */
+ // this is a comment too
+}
+
+