]> Cypherpunks.ru repositories - gostls13.git/commitdiff
Recognize gccgo error message.
authorIan Lance Taylor <iant@golang.org>
Tue, 17 Mar 2009 04:48:07 +0000 (21:48 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 17 Mar 2009 04:48:07 +0000 (21:48 -0700)
const2.go:7:9: error: expected '='

Uses '.' to recognize the quotation marks, as the actual
characters printed depend on the user's locale.

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=26360
CL=26373

test/const2.go

index b3b10de8e7cf84cc93edc280613dbd0b98871238..2ff71ee23216419a34a163cde072fcac317561f1 100644 (file)
@@ -8,5 +8,5 @@ package main
 
 const (
        A int = 1;
-       B byte; // ERROR "type without expr"
+       B byte; // ERROR "type without expr|expected .=."
 )