summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug345.dir/io.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug345.dir/io.go')
-rw-r--r--test/fixedbugs/bug345.dir/io.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/fixedbugs/bug345.dir/io.go b/test/fixedbugs/bug345.dir/io.go
new file mode 100644
index 000000000..1d695c304
--- /dev/null
+++ b/test/fixedbugs/bug345.dir/io.go
@@ -0,0 +1,15 @@
+// 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 io
+
+type Writer interface {
+ WrongWrite()
+}
+
+type SectionReader struct {
+ X int
+}
+
+func SR(*SectionReader) {}