mirror of
https://github.com/golang/go
synced 2024-11-27 04:41:33 -07:00
a8fe176156
syntax/*: update messages sliceerr3.go: bizarre new error fixed by deleting a space. I could have sworn I ran all.bash before submitting the CL that triggered these. TBR=golang-dev@googlegroups.com R=golang-dev CC=golang-dev https://golang.org/cl/12812044
15 lines
301 B
Go
15 lines
301 B
Go
// errorcheck
|
|
|
|
// Copyright 2010 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package main
|
|
|
|
func main() {
|
|
for x; y; z // ERROR "missing { after for clause|undefined"
|
|
{
|
|
z // GCCGO_ERROR "undefined"
|
|
|
|
|