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

« back to all changes in this revision

Viewing changes to fpcsrc/tests/tbs/tb0158.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
{ Old file: tbs0189.pp }
 
2
{ cant compare adresses of function variables !! As tbs0188 FPC syntax problem see source (PM) }
 
3
 
 
4
var m: procedure;
 
5
 
 
6
procedure test;
 
7
begin
 
8
end;
 
9
 
 
10
procedure test2;
 
11
begin
 
12
end;
 
13
 
 
14
begin
 
15
 if @test <> @test2 then
 
16
   writeln('different!')
 
17
 else
 
18
   writeln('error');
 
19
 m:=@test;
 
20
 
 
21
 { here also the syntax was wrong !! }
 
22
 {  @m <> @test have different types !! }
 
23
 if m <> @test then
 
24
   writeln('error');
 
25
end.