github.com/cockroachdb/tools@v0.0.0-20230222021103-a6d27438930d/go/analysis/passes/usesgenerics/testdata/src/c/c.go (about)

     1  // want package:`features{typeDecl,funcDecl,typeSet,typeInstance,funcInstance}`
     2  
     3  // Features funcDecl, typeSet, and funcInstance come from imported packages "a"
     4  // and "b". These features are not directly present in "c".
     5  
     6  package c
     7  
     8  import (
     9  	"a"
    10  	"b"
    11  )
    12  
    13  type T[P b.Constraint] a.T[P]