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

« back to all changes in this revision

Viewing changes to fpcsrc/tests/webtbf/tw3450.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
{ %fail }
 
2
 
 
3
{ Source provided for Free Pascal Bug Report 3450 }
 
4
{ Submitted by "Vincent Snijders" on  2004-12-11 }
 
5
{ e-mail: vsnijders@quicknet.nl }
 
6
 
 
7
{$mode objfpc}{$H+}
 
8
 
 
9
uses
 
10
  uw3450;
 
11
 
 
12
var
 
13
  A: TA;
 
14
 
 
15
begin
 
16
  A := TA.Create;
 
17
  // no error here
 
18
  with A do
 
19
    I := 9;
 
20
  // this fails, correctly
 
21
  A.I := 9;
 
22
end.