summaryrefslogtreecommitdiffstats
path: root/src/go/doc/testdata/examples/values.golden
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/doc/testdata/examples/values.golden')
-rw-r--r--src/go/doc/testdata/examples/values.golden21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/go/doc/testdata/examples/values.golden b/src/go/doc/testdata/examples/values.golden
new file mode 100644
index 0000000..00c1991
--- /dev/null
+++ b/src/go/doc/testdata/examples/values.golden
@@ -0,0 +1,21 @@
+-- A.Play --
+package main
+
+import ()
+
+func f() (int, int) {
+ return 1, 2
+}
+
+var a, b = f()
+
+func main() {
+ _ = a
+}
+-- B.Play --
+package main
+
+import ()
+
+func main() {
+}