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

« back to all changes in this revision

Viewing changes to fpcsrc/tests/webtbs/tw2830.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
{ Source provided for Free Pascal Bug Report 2830 }
 
2
{ Submitted by "marco (the gory bugs department)" on  2003-12-04 }
 
3
{ e-mail:  }
 
4
{$ifdef fpc}{$mode Delphi}{$endif}
 
5
 
 
6
Uses SysUtils;
 
7
 
 
8
Type
 
9
  TFloat=double;
 
10
  TCompiledExpression = function: TFloat of object;
 
11
 
 
12
procedure bla;
 
13
var
 
14
  Ce: TCompiledExpression;
 
15
begin
 
16
  if (TMethod(Ce).Code = TMethod(Ce).Code) and
 
17
    (TMethod(Ce).Data = TMethod(Ce).Data) then
 
18
     ;
 
19
end;
 
20
 
 
21
begin
 
22
  bla;
 
23
end.