| 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] |