fpc/tests/webtbs/tw22225.pp
paul 115ddf4364 compiler: modernize exception class parse:
- use specially implemented type search routine in case of declaration with colon (on E: Exception do)
  - parse nested types in case of declaration without colon (on Exception do)
  + test

fixes issue #0022225

git-svn-id: trunk@25412 -
2013-09-04 14:09:09 +00:00

18 lines
169 B
ObjectPascal

{ %NORUN }
program tw22225;
{$mode objfpc}
type
TT = class
public
type
TErr = class
end;
end;
begin
try
except on TT.TErr do;
end;
end.