mirror of
https://github.com/golang/go
synced 2024-11-13 17:20:22 -07:00
81d9621534
R=rsc CC=golang-dev https://golang.org/cl/6128051
11 lines
245 B
Go
11 lines
245 B
Go
// 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.
|
|
|
|
package one
|
|
|
|
// Issue 2687
|
|
type T struct { int }
|
|
|
|
func New(i int) T { return T{i} }
|