summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug345.dir/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug345.dir/main.go')
-rw-r--r--test/fixedbugs/bug345.dir/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug345.dir/main.go b/test/fixedbugs/bug345.dir/main.go
index 5bdc713f4..ddba8dad4 100644
--- a/test/fixedbugs/bug345.dir/main.go
+++ b/test/fixedbugs/bug345.dir/main.go
@@ -22,7 +22,7 @@ func main() {
// main.go:27: cannot use &x (type *"io".SectionReader) as type *"/Users/rsc/g/go/test/fixedbugs/bug345.dir/io".SectionReader in function argument
var w io.Writer
- bufio.NewWriter(w) // ERROR "test/io"
+ bufio.NewWriter(w) // ERROR "test/io|has incompatible type"
var x goio.SectionReader
- io.SR(&x) // ERROR "test/io"
+ io.SR(&x) // ERROR "test/io|has incompatible type"
}