diff --git a/test/rename1.go b/test/rename1.go index eb98e7accf3..2224773e9f5 100644 --- a/test/rename1.go +++ b/test/rename1.go @@ -7,10 +7,10 @@ package main func main() { - var n byte; // ERROR "not a type" - var y = float(0); // ERROR "cannot call" + var n byte; // ERROR "not a type|expected type" + var y = float(0); // ERROR "cannot call|expected function" const ( - a = 1+iota; // ERROR "string" + a = 1+iota; // ERROR "string|incompatible types" ) }