summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw11255.pp
blob: 16019b2ab7c2e300201ee849352f557b418c9d98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.