fpc/tests/webtbs/tw11255.pp
Jonas Maebe 0645313da5 * fixed wrong internal error in case a swapped set <op> setelement
addnode was processed after r10432/10433 (mantis #11255)

git-svn-id: trunk@10904 -
2008-05-07 18:11:18 +00:00

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.