Source file test/typeparam/issue49241.dir/main.go

     1  // Copyright 2021 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  	"./b"
     9  	"./c"
    10  )
    11  
    12  func main() {
    13  	if b.G() != c.G() {
    14  		println(b.G(), c.G())
    15  		panic("bad")
    16  	}
    17  	if b.F() != c.F() {
    18  		println(b.F(), c.F())
    19  		panic("bad")
    20  	}
    21  }
    22  

View as plain text