tb0103.pp 146 B

123456789
  1. { %fail }
  2. {$R+}
  3. Type Directions = (North, East,South,West);
  4. Var Go : Directions;
  5. begin
  6. Go:=Pred(North); { must give compile time error }
  7. end.