fpc/tests/webtbs/tw25606.pp
svenbarth 9611c3df52 Fix for Mantis #25606.
pexpr.pas, postfixoperators:
  * try_type_helper: also allow type helpers for block type bt_const

+ added test

git-svn-id: trunk@29176 -
2014-11-28 22:06:10 +00:00

18 lines
171 B
ObjectPascal

{ %NORUN }
program tw25606;
{$MODE DELPHI}
type
TValueInt32Helper = record helper for Int32
const
C{: Int32} = 0;
end;
var
I: Int32 = Int32.C;
begin
end.