github.com/lovishpuri/go-40569/src@v0.0.0-20230519171745-f8623e7c56cf/go/types/util_test.go (about)

     1  // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
     2  
     3  // Copyright 2023 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  // This file exports various functionality of util.go
     8  // so that it can be used in (package-external) tests.
     9  
    10  package types
    11  
    12  import "go/token"
    13  
    14  func CmpPos(p, q token.Pos) int { return cmpPos(p, q) }