2012-02-16 21:51:04 -07: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"
|
2015-11-04 10:21:49 -07:00
|
|
|
{ // ERROR "missing .*{.* after for clause|missing operand"
|
2010-02-04 22:31:30 -07:00
|
|
|
z // GCCGO_ERROR "undefined"
|
2010-01-27 00:13:22 -07:00
|
|
|
|
|
|
|
|