tw12075.pp 241 B

1234567891011121314151617
  1. { %fail }
  2. { %opt=-Sew -vw-}
  3. {$mode macpas}
  4. program popwarnings;
  5. var
  6. p: Pointer;
  7. offs: PtrInt;
  8. a: array[ 1..100] of integer;
  9. begin
  10. {$warnings on}
  11. p:= @a;
  12. {$push}
  13. {$warnings off}
  14. {$pop}
  15. PtrUInt(p):=PtrUInt(p) + offs;
  16. end.