Source file test/fixedbugs/issue6295.dir/p2.go

     1  // Copyright 2013 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  package main
     6  
     7  import (
     8  	"./p0"
     9  	"./p1"
    10  )
    11  
    12  var (
    13  	_ p0.T0 = p0.S0{}
    14  	_ p0.T0 = p1.S1{}
    15  	_ p0.T0 = p1.NewT0()
    16  	_ p0.T0 = p1.NewT1() // same as p1.S1{}
    17  )
    18  
    19  func main() {}
    20  

View as plain text