From 386845b23f49fa9fe43593916888f69fdcf96a0d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 20 Mar 2009 10:34:46 -0700 Subject: [PATCH] Match gccgo error messages. bug090.go:41:6: error: floating point constant truncated to integer bug090.go:32:6: error: floating point constant truncated to integer bug090.go:34:14: error: floating point constant truncated to integer bug090.go:37:5: error: incompatible types in assignment bug090.go:40:5: error: incompatible types in assignment R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=26564 CL=26574 --- test/fixedbugs/bug090.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixedbugs/bug090.go b/test/fixedbugs/bug090.go index 2b6f7deb80..50e08b7f58 100644 --- a/test/fixedbugs/bug090.go +++ b/test/fixedbugs/bug090.go @@ -38,9 +38,9 @@ func main() { assert(i != f3div2, "i != f3div2"); // ERROR "truncate" const g float64 = 1.0; - i = g; // ERROR "convert" + i = g; // ERROR "convert|incompatible" const h float64 = 3.14; - i = h; // ERROR "convert" + i = h; // ERROR "convert|incompatible" i = int(h); // ERROR "truncate" } -- 2.48.1