1
0
mirror of https://github.com/golang/go synced 2024-10-04 07:21:22 -06:00
go/test/fixedbugs/bug392.dir/two.go
Luuk van Dijk 419c53af30 gc: don't print implicit type on struct literal in export
As pointed out in the discussion around 2678.

R=rsc
CC=golang-dev
https://golang.org/cl/5534077
2012-02-06 12:19:59 +01:00

22 lines
361 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.
// Use the functions in one.go so that the inlined
// forms get type-checked.
package two
import "./one"
func use() {
one.F1(nil)
one.F2(nil)
one.F3()
one.F4(1)
var t *one.T
t.M()
t.MM()
}