3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Test that result parameters are in the same scope as regular parameters.
12 func f1(a
int) (int, float32) {
17 func f2(a
int) (a
int, b
float32) { // ERROR "duplicate argument a|definition"