diff options
Diffstat (limited to 'src/cmd/doc/testdata')
| -rw-r--r-- | src/cmd/doc/testdata/pkg.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/doc/testdata/pkg.go b/src/cmd/doc/testdata/pkg.go index 4e08c84233..99755b11c5 100644 --- a/src/cmd/doc/testdata/pkg.go +++ b/src/cmd/doc/testdata/pkg.go @@ -80,6 +80,10 @@ func (ExportedType) unexportedMethod(a int) bool { return true } +type ExportedStructOneField struct { + OnlyField int // the only field +} + // Constants tied to ExportedType. (The type is a struct so this isn't valid Go, // but it parses and that's all we need.) const ( |
