mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 22:49:34 +02:00
26 lines
309 B
ObjectPascal
26 lines
309 B
ObjectPascal
{ %opt=-gw }
|
|
{ %norun }
|
|
unit tw40462;
|
|
{$mode objfpc}
|
|
{$scopedenums on}
|
|
interface
|
|
type
|
|
TPart = (Foo, Bar);
|
|
TFoo = class
|
|
private type
|
|
TPart = (Foo, Bar);
|
|
private
|
|
Part: TPart;
|
|
end;
|
|
|
|
TBar = class
|
|
private type
|
|
TPart = (Baz, Bad);
|
|
private
|
|
Part: TPart;
|
|
end;
|
|
|
|
implementation
|
|
|
|
end.
|