From cc352e5c1c115ac6e88a30f6ebed76235b8aaf02 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 5 Dec 2008 10:20:34 -0800 Subject: [PATCH] The DejaGNU testsuite harness used by the gccgo testsuite is broken if you give it something which matches everything--the .* swallows all the error messages. Recognize some reasonable error text directly. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=20564 CL=20595 --- test/bugs/bug127.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bugs/bug127.go b/test/bugs/bug127.go index a67e85144d8..b463d233cea 100644 --- a/test/bugs/bug127.go +++ b/test/bugs/bug127.go @@ -7,6 +7,6 @@ package main func main() { var x int64 = 0; - println(x != nil); // ERROR ".*" - println(0 != nil); // ERROR ".*" + println(x != nil); // ERROR "illegal|incompatible" + println(0 != nil); // ERROR "illegal|incompatible" }