2016-08-16 17:33:05 -06:00
|
|
|
// errorcheck
|
2010-01-27 00:13:22 -07:00
|
|
|
|
2016-04-10 15:32:26 -06:00
|
|
|
// Copyright 2010 The Go Authors. All rights reserved.
|
2010-01-27 00:13:22 -07: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 22:31:30 -07:00
|
|
|
for x // GCCGO_ERROR "undefined"
|
2022-08-25 17:41:35 -06:00
|
|
|
{ // ERROR "unexpected {, expected for loop condition|expecting .*{.* after for clause"
|
2020-11-28 20:10:57 -07:00
|
|
|
z // GCCGO_ERROR "undefined"
|