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