aboutsummaryrefslogtreecommitdiff
path: root/test/blank.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2012-03-30 08:42:21 -0700
committerIan Lance Taylor <iant@golang.org>2012-03-30 08:42:21 -0700
commit373f1a95b0261673e5b2c7aea20d1a479af24713 (patch)
treecf7d6c83e5977ca2424792e555375703c18fb7cc /test/blank.go
parentc24daa222fffda53e58f716f7dba81142e42eab3 (diff)
downloadgo-373f1a95b0261673e5b2c7aea20d1a479af24713.tar.gz
go-373f1a95b0261673e5b2c7aea20d1a479af24713.zip
test: add some tests of valid code that failed with gccgo
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5971044
Diffstat (limited to 'test/blank.go')
-rw-r--r--test/blank.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blank.go b/test/blank.go
index 961ed153bb..ee618b1485 100644
--- a/test/blank.go
+++ b/test/blank.go
@@ -113,7 +113,7 @@ type I interface {
type TI struct{}
-func (TI) M(x int, y int) {
+func (_ TI) M(x int, y int) {
if x != y {
println("invalid M call:", x, y)
panic("bad M")