From: Ian Lance Taylor Date: Wed, 26 Jun 2013 15:23:52 +0000 (-0700) Subject: test/shift1.go: recognize gccgo errors X-Git-Tag: go1.2rc2~1172 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1761e250117e9917c3927fec06475fe98651c564;p=gostls13.git test/shift1.go: recognize gccgo errors R=golang-dev, remyoudompheng, iant CC=golang-dev https://golang.org/cl/10524045 --- diff --git a/test/shift1.go b/test/shift1.go index 71f7861c61..44a3792c4f 100644 --- a/test/shift1.go +++ b/test/shift1.go @@ -23,7 +23,7 @@ var ( // non-constant shift expressions var ( - e1 = g(2.0 << s) // ERROR "invalid" "as type interface" + e1 = g(2.0 << s) // ERROR "invalid|shift of non-integer operand" "as type interface" f1 = h(2 << s) // ERROR "invalid" "as type float64" g1 int64 = 1.1 << s // ERROR "truncated" ) @@ -39,12 +39,12 @@ var ( var ( // issues 4882, 4936. - a3 = 1.0<