mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 08:08:13 +02:00
24 lines
340 B
ObjectPascal
24 lines
340 B
ObjectPascal
program bug11255;
|
|
{$mode objfpc}{$h+}
|
|
|
|
type
|
|
TLCLPlatform = (
|
|
lpCarbon
|
|
);
|
|
|
|
TLCLPlatforms = set of TLCLPlatform;
|
|
|
|
var
|
|
WidgetSets: TLCLPlatforms;
|
|
|
|
function DirNameToLCLPlatform: TLCLPlatform;
|
|
begin
|
|
Result:=lpCarbon;
|
|
end;
|
|
|
|
begin
|
|
WidgetSets := [DirNameToLCLPlatform];
|
|
if widgetsets<>[lpcarbon] then
|
|
halt(1);
|
|
end.
|