aboutsummaryrefslogtreecommitdiff
path: root/test/peano.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-24 10:30:39 +1100
committerRob Pike <r@golang.org>2012-02-24 10:30:39 +1100
commit19bab1dc78f1a1398d8e86bda1513b3671995ed7 (patch)
tree4da3e71a170e6bfe927d16b308907ca19fc15b7c /test/peano.go
parent5b30306fa81d2f95c152f6b8cd5e4b22a3befcbf (diff)
downloadgo-19bab1dc78f1a1398d8e86bda1513b3671995ed7.tar.gz
go-19bab1dc78f1a1398d8e86bda1513b3671995ed7.zip
test/[n-r]*.go: add documentation
The rename ones needed redoing. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5698054
Diffstat (limited to 'test/peano.go')
-rw-r--r--test/peano.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/peano.go b/test/peano.go
index 2cc0ac280f..745f5153f6 100644
--- a/test/peano.go
+++ b/test/peano.go
@@ -4,6 +4,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Test that heavy recursion works. Simple torture test for
+// segmented stacks: do math in unary by recursion.
+
package main
type Number *Number