]> Cypherpunks.ru repositories - gostls13.git/commit
test: recognize gccgo error message in index.go
authorIan Lance Taylor <iant@golang.org>
Sat, 28 Sep 2013 03:38:52 +0000 (20:38 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 28 Sep 2013 03:38:52 +0000 (20:38 -0700)
commitbdafe73ce4f4910efd71eb5fdd7a5fc4614a9afe
tree7de871b6d712ec65f95c5845de43aee96f20fea2
parent9bd1f49e377d86c935d13d0bd0a8e8c3d986c18c
test: recognize gccgo error message in index.go

When a floating point constant is used as an array/slice
index, gccgo prints "error: index must be integer"; gc prints
"constant 2.1 truncated to integer".

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/14044044
test/index.go