Class TMyClass

Description

Unit

Declaration

type TMyClass<T> = class

Description

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