diff options
author | Ian Lance Taylor <iant@golang.org> | 2010-09-09 09:00:32 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2010-09-09 09:00:32 -0700 |
commit | c1518dc42c87b46cc4e24d4b5adc1fa6267fa023 (patch) | |
tree | e600d0dee299c73034554d27f359595b347c17f2 /test | |
parent | 0be78f78e229cce61fdd9147b7783ef0531eb5bd (diff) | |
download | go-c1518dc42c87b46cc4e24d4b5adc1fa6267fa023.tar.gz |
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
http://codereview.appspot.com/2151046
Diffstat (limited to 'test')
-rw-r--r-- | test/nul1.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nul1.go b/test/nul1.go index d98fd714a..9d6974f81 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" |