mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 01:19:35 +02:00
12 lines
164 B
ObjectPascal
12 lines
164 B
ObjectPascal
type
|
|
days = (Mon,Tue,Wed,Thu,Fri,Sat,Sun);
|
|
weekend = Sat..Sun;
|
|
|
|
var
|
|
w : weekend;
|
|
|
|
begin
|
|
w:=5;
|
|
{$error the line before should produce an error }
|
|
end.
|