blob: 2157d0741f35ce5a2164f8c5bb390df15c93e676 [file] [log] [blame]
Russ Cox5b94a472015-02-23 14:00:51 -05001// skip
2// TODO(rsc): Reenable. See issue 9968.
3
Russ Cox80803842012-02-16 23:49:59 -05004// errorcheck
Russ Cox49b70d02011-07-27 14:36:21 -04005
6// Copyright 2011 The Go Authors. All rights reserved.
7// Use of this source code is governed by a BSD-style
8// license that can be found in the LICENSE file.
9
10// issue 1192 - detail in error
11
12package main
13
14func foo() (a, b, c int) {
Ian Lance Taylor86d97aa2011-09-20 14:47:48 -070015 return 0, 1 2.01 // ERROR "unexpected literal 2.01|expected ';' or '}' or newline|not enough arguments to return"
Russ Cox49b70d02011-07-27 14:36:21 -040016}