gcc/testsuite/go.test/test/fixedbugs/bug345.dir/io.go
raw| 1 | // Copyright 2011 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package io |
| 6 | |
| 7 | type Writer interface { |
| 8 | WrongWrite() |
| 9 | } |
| 10 | |
| 11 | type SectionReader struct { |
| 12 | X int |
| 13 | } |
| 14 | |
| 15 | func SR(*SectionReader) {} |