summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/gofmt/testdata/rewrite1.golden
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/cmd/gofmt/testdata/rewrite1.golden')
-rw-r--r--libgo/go/cmd/gofmt/testdata/rewrite1.golden12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/go/cmd/gofmt/testdata/rewrite1.golden b/libgo/go/cmd/gofmt/testdata/rewrite1.golden
new file mode 100644
index 00000000000..d9beb370582
--- /dev/null
+++ b/libgo/go/cmd/gofmt/testdata/rewrite1.golden
@@ -0,0 +1,12 @@
+// Copyright 2011 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package main
+
+type Bar int
+
+func main() {
+ var a Bar
+ println(a)
+}