diff options
author | Rob Pike <r@golang.org> | 2008-07-07 10:03:10 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-07-07 10:03:10 -0700 |
commit | 468d53d11764f10fccd99e79f7e5bd6b39290fbf (patch) | |
tree | 3519c970f432a9a2ff16c743f34ce687a40d778e /test/ken | |
parent | 9b22ee657b8f7a43fa28d1cc738bb7b4e05d18be (diff) | |
download | go-468d53d11764f10fccd99e79f7e5bd6b39290fbf.tar.gz |
test cleanup
SVN=126120
Diffstat (limited to 'test/ken')
-rw-r--r-- | test/ken/robfunc.go | 4 | ||||
-rw-r--r-- | test/ken/simpconv.go | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/ken/robfunc.go b/test/ken/robfunc.go index c6b1a10c4..d88841406 100644 --- a/test/ken/robfunc.go +++ b/test/ken/robfunc.go @@ -40,7 +40,7 @@ func f7(a int) (int, float) { } -func f8(a int) (a int, b float) { +func f8(a int) (x int, y float) { return 8, 8.0; } @@ -53,7 +53,7 @@ func (t *T) m10(a int, b float) int { } -func f9(a int) (i int, f float) { +func f9(a int) (in int, fl float) { i := 9; f := float(9); return i, f; diff --git a/test/ken/simpconv.go b/test/ken/simpconv.go index 895024e5b..401ae763d 100644 --- a/test/ken/simpconv.go +++ b/test/ken/simpconv.go @@ -6,6 +6,8 @@ package main +type vlong int64; + func main() { |