2015-02-23 12:00:51 -07:00
|
|
|
// skip
|
|
|
|
// TODO(rsc): Reenable. See issue 9968.
|
|
|
|
|
2012-04-26 03:57:23 -06:00
|
|
|
// errorcheck
|
|
|
|
|
|
|
|
// Copyright 2012 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.
|
|
|
|
|
|
|
|
// Test that a syntax error caused by an unexpected EOF
|
|
|
|
// gives an error message with the correct line number.
|
|
|
|
//
|
2015-02-06 05:44:39 -07:00
|
|
|
// https://golang.org/issue/3392
|
2012-04-26 03:57:23 -06:00
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
func foo() {
|
2013-07-30 08:27:08 -06:00
|
|
|
bar(1, // ERROR "unexpected|missing|undefined"
|