Interface TMyInterface

Description

Unit

Declaration

type TMyInterface<T> = interface

Description

Valid Pascal, FPC compiles this (just fix first TMyInterface, e.g. to not declare explicit ancestor). Generic and non-generic TMyClass are different types.