fpc/tests/webtbs/tw16402.pp
2010-05-04 17:59:58 +00:00

8 lines
121 B
ObjectPascal

uses typinfo;
type
TEnum = (Name1,Name2,Name3);
begin
if GetEnumNameCount(TypeInfo(TEnum))<>3 then
halt(1);
end.