diff options
Diffstat (limited to 'tests/stckovfl.nim')
-rw-r--r--[-rwxr-xr-x] | tests/stckovfl.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stckovfl.nim b/tests/stckovfl.nim index 205d73edf..cbc893d2e 100755..100644 --- a/tests/stckovfl.nim +++ b/tests/stckovfl.nim @@ -1,10 +1,10 @@ # To test stack overflow message -proc over(a: int): int = - if a >= 400: +proc over(a: int): int = + if a >= 10: assert false return result = over(a+1)+5 - + Echo($over(0)) |