aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug118.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2012-02-03 11:43:24 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2012-02-03 11:43:24 -0800
commit040fe32119580cbb480d38dec8cfffd06d2dbf3a (patch)
tree31379ecee9be153925fea91eefa988b7c2d1f635 /test/fixedbugs/bug118.go
parent10f1b6a0744bac6af16c72a48448027e7041ea25 (diff)
downloadgo-040fe32119580cbb480d38dec8cfffd06d2dbf3a.tar.xz
test: don't use package main for files without a main function
Part of issue 2833, but works fine with current test runner. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5606056
Diffstat (limited to 'test/fixedbugs/bug118.go')
-rw-r--r--test/fixedbugs/bug118.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug118.go b/test/fixedbugs/bug118.go
index 1271f5b0cb..84006816fd 100644
--- a/test/fixedbugs/bug118.go
+++ b/test/fixedbugs/bug118.go
@@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package main
+package bug118
func Send(c chan int) int {
select {