mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:18:12 +02:00
11 lines
203 B
ObjectPascal
11 lines
203 B
ObjectPascal
{ %norun }
|
|
type
|
|
measure = (short := 1, long := 2);
|
|
generic bar<const x: measure> = object
|
|
public
|
|
const
|
|
myMeasure = ord(x);
|
|
end;
|
|
begin
|
|
end.
|