<pre>Steps to reproduce: # cd $GOROOT/src/pkg/image/color/palette # hg id 72f6ec05c6ca # hg st # echo "Hello world" >> palette.go # go test; echo $? ? image/color/palette [no test files] 0 But "go build" fails: # go build; echo $? # image/color/palette ./palette.go:505: non-declaration statement outside function body ./palette.go:505: syntax error: unexpected name, expecting semicolon or newline 2</pre>