From 86d97aa981d3455704d1c5d31fbee5bc27eb5344 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 20 Sep 2011 14:47:48 -0700 Subject: [PATCH] test: match gccgo error messages for bug349.go MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit bug349.go:12:14: error: expected ‘;’ or ‘}’ or newline bug349.go:12:2: error: not enough arguments to return R=golang-dev, gri CC=golang-dev https://golang.org/cl/5081047 --- test/fixedbugs/bug349.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixedbugs/bug349.go b/test/fixedbugs/bug349.go index 07005973e7..e7612edb77 100644 --- a/test/fixedbugs/bug349.go +++ b/test/fixedbugs/bug349.go @@ -9,5 +9,5 @@ package main func foo() (a, b, c int) { - return 0, 1 2.01 // ERROR "unexpected literal 2.01" + return 0, 1 2.01 // ERROR "unexpected literal 2.01|expected ';' or '}' or newline|not enough arguments to return" } -- 2.50.0