commit | aa6e81dd719271b605be40ab277daeba85541e05 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Sep 09 16:59:41 2009 -0700 |
committer | Russ Cox <rsc@golang.org> | Wed Sep 09 16:59:41 2009 -0700 |
tree | 26039b6a06ed1907cc84009bd025b8003f8f3f9a | |
parent | 079e038acababc638633db4041a4a38026c7c3fd [diff] [blame] |
a few more blank tests R=ken OCL=34500 CL=34500
diff --git a/test/blank.go b/test/blank.go index 4919841..6348443 100644 --- a/test/blank.go +++ b/test/blank.go
@@ -6,12 +6,20 @@ package main +import _ "fmt" + var call string type T struct { _, _, _ int; } +func (T) _() { +} + +func (T) _() { +} + const ( c0 = iota; _; @@ -44,8 +52,7 @@ return 23; } -func main() -{ +func main() { _, _ = f(); a, _ := f(); if a != 1 {panic(a)}