diff options
Diffstat (limited to 'tests/tstrace.nim')
-rwxr-xr-x | tests/tstrace.nim | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/tstrace.nim b/tests/tstrace.nim deleted file mode 100755 index 56f20a0dd..000000000 --- a/tests/tstrace.nim +++ /dev/null @@ -1,16 +0,0 @@ -# Test the new stacktraces (great for debugging!) - -{.push stack_trace: on.} - -proc recTest(i: int) = - # enter - if i < 10: - recTest(i+1) - else: # should printStackTrace() - var p: ptr int = nil - p^ = 12 - # leave - -{.pop.} - -recTest(0) |