1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:44:41 -07:00

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
This commit is contained in:
Ian Lance Taylor 2008-12-05 10:20:34 -08:00
parent 8aeb8647c5
commit cc352e5c1c

View 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"
}