mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 23:28:28 +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.
|