summaryrefslogtreecommitdiffstats
path: root/src/go/doc/testdata/examples/inspect_signature.golden
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/doc/testdata/examples/inspect_signature.golden')
-rw-r--r--src/go/doc/testdata/examples/inspect_signature.golden24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/go/doc/testdata/examples/inspect_signature.golden b/src/go/doc/testdata/examples/inspect_signature.golden
new file mode 100644
index 0000000..c0d9b2e
--- /dev/null
+++ b/src/go/doc/testdata/examples/inspect_signature.golden
@@ -0,0 +1,24 @@
+-- .Play --
+package main
+
+import (
+ "bytes"
+ "io"
+)
+
+func getReader() io.Reader { return nil }
+
+func do(b bytes.Reader) {}
+
+func main() {
+ getReader()
+ do()
+}
+-- Ignored.Play --
+package main
+
+import ()
+
+func main() {
+}
+