summaryrefslogtreecommitdiff
path: root/tests/webtbs/tw3226.pp
blob: 66d97c3f92fe15d24d23eaaf88b32af5bd65e7d0 (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
{ Source provided for Free Pascal Bug Report 3226 }
{ Submitted by "marco" on  2004-08-03 }
{ e-mail:  }
program Project2;

{$APPTYPE CONSOLE}

uses
  SysUtils;

type Ty = type Pointer;

procedure p(y : ty);
  begin
    halt(0);
  end;

procedure p(y : pointer);
  begin
    writeln('type p = type pointer; problem');
    halt(1);
  end;

var y : ty;

begin
  p(y);
end.