2016-08-16 16:33:05 -07:00
|
|
|
// errorcheck
|
2010-01-26 23:13:22 -08:00
|
|
|
|
2016-04-10 14:32:26 -07:00
|
|
|
// Copyright 2010 The Go Authors. All rights reserved.
|
2010-01-26 23:13:22 -08:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
func main() {
|
2010-02-04 21:31:30 -08:00
|
|
|
for x // GCCGO_ERROR "undefined"
|
2022-08-25 16:41:35 -07:00
|
|
|
{ // ERROR "unexpected {, expected for loop condition|expecting .*{.* after for clause"
|
2020-11-28 19:10:57 -08:00
|
|
|
z // GCCGO_ERROR "undefined"
|