From 1761e250117e9917c3927fec06475fe98651c564 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 26 Jun 2013 08:23:52 -0700 Subject: [PATCH] test/shift1.go: recognize gccgo errors R=golang-dev, remyoudompheng, iant CC=golang-dev https://golang.org/cl/10524045 --- test/shift1.go | 185 +++++++++++++++++++++++++------------------------ 1 file changed, 93 insertions(+), 92 deletions(-) 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<