summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug469.go
blob: 71157a4c41cd3e938f2362db823ef6d1e635545f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile

// 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.

// The gccgo compiler would complain about a redefinition of i, but
// the spec imposes no requirements on parameter names in a function
// type.

package p

type F func(i int) (i int)