summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw4229.pp
blob: 319b9f500098e297f52f0a7f579be154fb1fd6f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ Source provided for Free Pascal Bug Report 4229 }
{ Submitted by "Gerhard" on  2005-07-28 }
{ e-mail: gs@g--s.de }
unit tw4229 ;

interface

  type
    strobj = object
               bs : string ;
               ba : ansistring ;
              end ;

  operator := ( const a : ansistring ) z : strobj ;

implementation

  operator := ( const s : string ) z : strobj ;

    begin
      z.bs := s ;
     end ;

  operator := ( const a : ansistring ) z : strobj ;

    begin
      z.ba := a ;
     end ;

end.