From 43a123c1ae6613b3efeed291fa552ecd909d3acf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Apr 2024 21:23:18 +0200 Subject: Adding upstream version 1.20.14. Signed-off-by: Daniel Baumann --- src/cmd/doc/testdata/nested/empty/empty.go | 1 + src/cmd/doc/testdata/nested/ignore.go | 5 +++++ src/cmd/doc/testdata/nested/nested/real.go | 4 ++++ 3 files changed, 10 insertions(+) create mode 100644 src/cmd/doc/testdata/nested/empty/empty.go create mode 100644 src/cmd/doc/testdata/nested/ignore.go create mode 100644 src/cmd/doc/testdata/nested/nested/real.go (limited to 'src/cmd/doc/testdata/nested') diff --git a/src/cmd/doc/testdata/nested/empty/empty.go b/src/cmd/doc/testdata/nested/empty/empty.go new file mode 100644 index 0000000..609cf0e --- /dev/null +++ b/src/cmd/doc/testdata/nested/empty/empty.go @@ -0,0 +1 @@ +package empty diff --git a/src/cmd/doc/testdata/nested/ignore.go b/src/cmd/doc/testdata/nested/ignore.go new file mode 100644 index 0000000..5fa811d --- /dev/null +++ b/src/cmd/doc/testdata/nested/ignore.go @@ -0,0 +1,5 @@ +//go:build ignore +// +build ignore + +// Ignored package +package nested diff --git a/src/cmd/doc/testdata/nested/nested/real.go b/src/cmd/doc/testdata/nested/nested/real.go new file mode 100644 index 0000000..1e55460 --- /dev/null +++ b/src/cmd/doc/testdata/nested/nested/real.go @@ -0,0 +1,4 @@ +package nested + +type Foo struct { +} -- cgit v1.2.3