modernc.org/gc@v1.0.1-0.20240304020402-f0dba7c97c2b/testdata/errchk/test/fixedbugs/issue4590.dir/prog.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  package main
     6  
     7  import (
     8  	"./pkg1"
     9  	"./pkg2"
    10  )
    11  
    12  func main() {
    13  	if pkg1.T != pkg2.T {
    14  		panic("pkg1.T != pkg2.T")
    15  	}
    16  	if pkg1.U != pkg2.U {
    17  		panic("pkg1.U != pkg2.U")
    18  	}
    19  	if pkg1.V != pkg2.V {
    20  		panic("pkg1.V != pkg2.V")
    21  	}
    22  	if pkg1.W != pkg2.W {
    23  		panic("pkg1.W != pkg2.W")
    24  	}
    25  }