Home | History | Annotate | Download | only in bug392.dir
      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
     26