diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-11-27 23:47:21 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-11 21:23:18 +0100 |
commit | 75e4a0098ab1bafff44169bc19ae2b13229b8c8e (patch) | |
tree | 1089e9db13ad90704d3e7d2d1a3a5dd69ff3efe9 /tests/caas/absurd_nesting.nim | |
parent | ef44c12a3460579bd4ca17111ce942e752c5fda6 (diff) | |
download | Nim-75e4a0098ab1bafff44169bc19ae2b13229b8c8e.tar.gz |
remove caas
Diffstat (limited to 'tests/caas/absurd_nesting.nim')
-rw-r--r-- | tests/caas/absurd_nesting.nim | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/caas/absurd_nesting.nim b/tests/caas/absurd_nesting.nim deleted file mode 100644 index 136d65cc7..000000000 --- a/tests/caas/absurd_nesting.nim +++ /dev/null @@ -1,29 +0,0 @@ -# Tries to test the full ownership path generated by idetools. - -proc lev1(t1: string) = - var temp = t1 - for i in 0..len(temp)-1: - temp[i] = chr(int(temp[i]) + 1) - - proc lev2(t2: string) = - var temp = t2 - for i in 0..len(temp)-1: - temp[i] = chr(int(temp[i]) + 1) - - proc lev3(t3: string) = - var temp = t3 - for i in 0..len(temp)-1: - temp[i] = chr(int(temp[i]) + 1) - - proc lev4(t4: string) = - var temp = t4 - for i in 0..len(temp)-1: - temp[i] = chr(int(temp[i]) + 1) - - echo temp & "(lev4)" - lev4(temp & "(lev3)") - lev3(temp & "(lev2)") - lev2(temp & "(lev1)") - -when isMainModule: - lev1("abcd") |