]> Cypherpunks repositories - gostls13.git/commitdiff
The DejaGNU testsuite harness used by the gccgo testsuite is
authorIan Lance Taylor <iant@golang.org>
Fri, 5 Dec 2008 18:20:34 +0000 (10:20 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 5 Dec 2008 18:20:34 +0000 (10:20 -0800)
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

index a67e85144d8aed9f4a9c7c86634335888988ed14..b463d233cea991dafa20ab6f87085c81c3e0298d 100644 (file)
@@ -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"
 }