summaryrefslogtreecommitdiffstats
path: root/src/cmd/doc/testdata/nested
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/doc/testdata/nested')
-rw-r--r--src/cmd/doc/testdata/nested/empty/empty.go1
-rw-r--r--src/cmd/doc/testdata/nested/ignore.go5
-rw-r--r--src/cmd/doc/testdata/nested/nested/real.go4
3 files changed, 10 insertions, 0 deletions
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 {
+}