mirror of
https://github.com/golang/go
synced 2024-11-25 21:57:57 -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:
parent
8aeb8647c5
commit
cc352e5c1c
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user