2015-02-23 12:00:51 -07:00
|
|
|
// skip
|
|
|
|
// TODO(rsc): Reenable. See issue 9968.
|
|
|
|
|
2012-02-16 21:49:59 -07:00
|
|
|
// errorcheck
|
2011-07-27 12:36:21 -06:00
|
|
|
|
|
|
|
// Copyright 2011 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.
|
|
|
|
|
|
|
|
// issue 1192 - detail in error
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
func foo() (a, b, c int) {
|
2011-09-20 15:47:48 -06:00
|
|
|
return 0, 1 2.01 // ERROR "unexpected literal 2.01|expected ';' or '}' or newline|not enough arguments to return"
|
2011-07-27 12:36:21 -06:00
|
|
|
}
|