mirror of
https://github.com/golang/go
synced 2024-11-13 16:10:25 -07:00
6ff01f01f4
Trust me. Fixes #2687. R=rsc CC=golang-dev https://golang.org/cl/5545047
10 lines
231 B
Go
10 lines
231 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
|
|
|
|
type T struct { int }
|
|
|
|
func New(i int) T { return T{i} }
|