github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/go/analysis/passes/usesgenerics/testdata/src/d/d.go (about) 1 // want package:`features{typeSet}` 2 3 package d 4 5 type myInt int 6 7 func _() { 8 // Sanity check that we can both detect local types and interfaces with 9 // embedded defined types. 10 type constraint interface { 11 myInt 12 } 13 }