github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/test/fixedbugs/bug392.dir/pkg2.go (about)

     1  // Copyright 2012 The Go Authors.  All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Use the functions in one.go so that the inlined
     6  // forms get type-checked.
     7  
     8  package pkg2
     9  
    10  import "./one"
    11  
    12  func use() {
    13  	one.F1(nil)
    14  	one.F2(nil)
    15  	one.F3()
    16  	one.F4(1)
    17  
    18  	var t *one.T
    19  	t.M()
    20  	t.MM()
    21  }
    22  
    23  var V = []one.PB{{}, {}}
    24  
    25  func F() *one.PB