mirror of
https://github.com/golang/go
synced 2024-11-22 01:14:40 -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:
parent
91bcdb620b
commit
47c1cef56b
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user