1
0
mirror of https://github.com/golang/go synced 2024-11-25 14:07:56 -07:00

test: match gccgo error messages for bug016.go.

bug016.go:11:8: error: negative shift count

R=rsc, gri
CC=golang-dev
https://golang.org/cl/4312055
This commit is contained in:
Ian Lance Taylor 2011-03-25 13:31:30 -07:00
parent 91bcdb620b
commit 47c1cef56b

View File

@ -8,7 +8,7 @@ package main
func main() { func main() {
var i int = 100 var i int = 100
i = i << -3 // ERROR "overflows" i = i << -3 // ERROR "overflows|negative"
} }
/* /*