fpc/tests/webtbs/tw40886.pp
florian 44d9234f38 * properly unlink unused type symbols from their defs to avoid
internal errors when generating debug info, resolves #40886
2024-09-20 22:49:08 +02:00

14 lines
214 B
ObjectPascal

{ %opt=-gl }
program test;
{$modeswitch implicitfunctionspecialization}
generic procedure FillChar<T>(var x; count: SizeInt; value: Byte);
begin
end;
var v: array [0..0] of Byte;
begin
FillChar(v, 0, 0);
end.