mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 08:10:31 +02:00
11 lines
133 B
ObjectPascal
11 lines
133 B
ObjectPascal
{ %FAIL }
|
|
|
|
{ addr(@(x)) should be refused in normal mode }
|
|
|
|
var
|
|
x:function(x:longint):longint;
|
|
w:pointer;
|
|
begin
|
|
w:=addr(@x);
|
|
end.
|