mirror of
https://github.com/golang/go
synced 2024-11-22 19:24:59 -07:00
16 lines
268 B
Go
16 lines
268 B
Go
|
// compile
|
||
|
|
||
|
// Copyright 2024 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 p
|
||
|
|
||
|
type nat []int
|
||
|
|
||
|
var a, b nat = y()
|
||
|
|
||
|
func y() (nat, []int) {
|
||
|
return nat{0}, nat{1}
|
||
|
}
|