aboutsummaryrefslogtreecommitdiff
path: root/test/rune.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/rune.go
parent10f1b6a0744bac6af16c72a48448027e7041ea25 (diff)
downloadgo-040fe32119580cbb480d38dec8cfffd06d2dbf3a.tar.gz
go-040fe32119580cbb480d38dec8cfffd06d2dbf3a.zip
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/rune.go')
-rw-r--r--test/rune.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rune.go b/test/rune.go
index 3386972b6d..d62a1766da 100644
--- a/test/rune.go
+++ b/test/rune.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 rune
var (
r0 = 'a'