~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/tests/test/cg/tdivz2.pp

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{ %RESULT=200 }
 
2
{****************************************************************}
 
3
{  CODE GENERATOR TEST PROGRAM                                   }
 
4
{****************************************************************}
 
5
{ NODE TESTED : secondmoddiv() - division by zero test           }
 
6
{****************************************************************}
 
7
{ PRE-REQUISITES: secondload()                                   }
 
8
{                 secondassign()                                 }
 
9
{                 secondtypeconv()                               }
 
10
{****************************************************************}
 
11
{ DEFINES:                                                       }
 
12
{            FPC     = Target is FreePascal compiler             }
 
13
{****************************************************************}
 
14
{ REMARKS:                                                       }
 
15
{                                                                }
 
16
{                                                                }
 
17
{                                                                }
 
18
{****************************************************************}
 
19
 
 
20
{$ifdef VER70}
 
21
  {$define TP}
 
22
{$endif}
 
23
 
 
24
var
 
25
  longres : longint;
 
26
  longcnt : longint;
 
27
begin
 
28
 
 
29
  longres := 1;
 
30
  longcnt := 0;
 
31
  longres := longres div longcnt;
 
32
end.