mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 06:09:22 +02:00
+ initial version of stack checking routines
This commit is contained in:
parent
92ea5a291d
commit
2d4afe0bf8
23
tests/test/units/system/teststk.pp
Normal file
23
tests/test/units/system/teststk.pp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{$S+}
|
||||||
|
|
||||||
|
{ This tests the stack checking routine on those }
|
||||||
|
{ targets which support it. }
|
||||||
|
|
||||||
|
procedure recursive;
|
||||||
|
var s: string;
|
||||||
|
begin
|
||||||
|
s := 'blahblah';
|
||||||
|
recursive;
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Begin
|
||||||
|
Recursive;
|
||||||
|
end.
|
||||||
|
|
||||||
|
{
|
||||||
|
$Log$
|
||||||
|
Revision 1.1 2001-12-10 02:41:41 carl
|
||||||
|
+ initial version of stack checking routines
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user