blob: 1121fa57512c9ec00aa13b17a2891764d643c93e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{$inline on}
procedure test(p: pchar);
begin
if pchar(p)^ <> 'a' then
halt(1);
end;
procedure test(const p); inline;
begin
test(pchar(@p));
end;
begin
test('abc');
end.
|