summary refs log tree commit diff stats
path: root/tests/fragmentation/tfragment_alloc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fragmentation/tfragment_alloc.nim')
-rw-r--r--tests/fragmentation/tfragment_alloc.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/fragmentation/tfragment_alloc.nim b/tests/fragmentation/tfragment_alloc.nim
index 031588d27..5a44b7434 100644
--- a/tests/fragmentation/tfragment_alloc.nim
+++ b/tests/fragmentation/tfragment_alloc.nim
@@ -15,6 +15,10 @@ proc main =
       quit "could not serve request!"
     dealloc p
  #   c_fprintf(stdout, "iteration: %ld size: %ld\n", i, size)
+  when defined(cpu64):
+    # bug #7120
+    var x = alloc(((1 shl 29) - 4) * 8)
+    dealloc x
 
 main()