mirror of
https://github.com/golang/go
synced 2024-11-26 02:27:56 -07:00
be5c445909
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6856084
14 lines
358 B
Go
14 lines
358 B
Go
// 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)
|