summaryrefslogtreecommitdiff
path: root/test/char_lit1.go
Commit message (Collapse)AuthorAgeFilesLines
* test: [a-c]: add introductory comments to testsRob Pike2012-02-191-0/+3
| | | | | | | | | | | | Very few of the compiler regression tests include a comment saying waht they do. Many are obvious, some are anything but. I've started with a-c in the top directory. More will follow once we agree on the approach, correctness, and thoroughness here. zerodivide.go sneaked in too. R=rsc, r CC=golang-dev https://golang.org/cl/5656100
* test: use testlib (first 100)Russ Cox2012-02-161-1/+1
| | | | | | | | | | | X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656082
* test: Match gccgo error messages.Ian Lance Taylor2010-08-311-8/+8
| | | | | | | | | | | | | | | | | gcc conventionally does not upper case in error messages. char_lit1.go:13: error: invalid unicode code point 0xd800 char_lit1.go:14: error: invalid unicode code point 0xd999 char_lit1.go:15: error: invalid unicode code point 0xdc01 char_lit1.go:16: error: invalid unicode code point 0xdddd char_lit1.go:17: error: invalid unicode code point 0xdfff char_lit1.go:20: error: invalid unicode code point 0x110000 char_lit1.go:22: error: invalid unicode code point 0x110000 char_lit1.go:23: error: invalid unicode code point 0xffffffff R=rsc CC=golang-dev https://golang.org/cl/2040042
* test: check that surrogate pair runes and huge rune values are rejectedRuss Cox2010-06-101-0/+25
R=r CC=golang-dev https://golang.org/cl/1615042