Commit 47c1cef5 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 91bcdb62
......@@ -8,7 +8,7 @@ package main
func main() {
var i int = 100
i = i << -3 // ERROR "overflows"
i = i << -3 // ERROR "overflows|negative"
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment