summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw4229a.pp
blob: 60874dc362d8c048e05b38ebed12e36e333275b9 (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
{ %fail }
{ %norun}
{ Source provided for Free Pascal Bug Report 4229 }
{ Submitted by "Gerhard" on  2005-07-28 }
{ e-mail: gs@g--s.de }
unit tw4229a ;

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 ;

end.