From 4427965ee4f3632b9ea9dedd4726ba26b86d4535 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 9 Sep 2010 09:00:32 -0700 Subject: [PATCH] test: Match gccgo error messages. tmp.go:4:20: error: invalid NUL byte tmp.go:6:24: error: invalid NUL byte tmp.go:8:15: error: invalid NUL byte tmp.go:10:21: error: invalid NUL byte tmp.go:12:22: error: invalid NUL byte tmp.go:14:21: error: invalid UTF-8 encoding tmp.go:14:22: error: invalid UTF-8 encoding tmp.go:16:25: error: invalid UTF-8 encoding tmp.go:18:15: error: invalid UTF-8 encoding tmp.go:18:16: error: invalid UTF-8 encoding tmp.go:20:21: error: invalid UTF-8 encoding tmp.go:20:22: error: invalid NUL byte tmp.go:20:23: error: invalid NUL byte tmp.go:23:6: error: invalid UTF-8 encoding tmp.go:23:7: error: invalid UTF-8 encoding tmp.go:25:22: error: invalid UTF-8 encoding R=rsc CC=golang-dev https://golang.org/cl/2151046 --- test/nul1.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nul1.go b/test/nul1.go index d98fd714a93..9d6974f818b 100644 --- a/test/nul1.go +++ b/test/nul1.go @@ -48,7 +48,7 @@ var yy = ` + "`in raw string \xff foo`" + ` // ERROR "UTF-8" // in comment ` + "\xe2\x80\x01" + ` // ERROR "UTF-8" -/* in other comment ` + "\xe0\x00\x00" + ` */ // ERROR "UTF-8" +/* in other comment ` + "\xe0\x00\x00" + ` */ // ERROR "UTF-8|NUL" /* in variable name */ var z` + "\xc1\x81" + ` int // ERROR "UTF-8"