summary refs log tree commit diff stats
path: root/tests/async/t6100.nim
diff options
context:
space:
mode:
authorYuriy Glukhov <yglukhov@users.noreply.github.com>2018-07-22 23:30:59 +0300
committerAndreas Rumpf <rumpf_a@web.de>2018-07-22 22:30:59 +0200
commit20942098378d12d2b2041cb916c0925b6f017a98 (patch)
treeabb9f868211da13acd4a628f0234c744ce10e964 /tests/async/t6100.nim
parent9379f9353a73acdb9744ab96c0544fb446b11a6a (diff)
downloadNim-20942098378d12d2b2041cb916c0925b6f017a98.tar.gz
Fixed #8399 (#8401)
Diffstat (limited to 'tests/async/t6100.nim')
-rw-r--r--tests/async/t6100.nim15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/async/t6100.nim b/tests/async/t6100.nim
deleted file mode 100644
index b4dc0f146..000000000
--- a/tests/async/t6100.nim
+++ /dev/null
@@ -1,15 +0,0 @@
-discard """
-  file: "t6100.nim"
-  exitcode: 0
-  output: "10000000"
-"""
-import asyncdispatch
-
-let done = newFuture[int]()
-done.complete(1)
-
-proc asyncSum: Future[int] {.async.} =
-  for _ in 1..10_000_000:
-    result += await done
-
-echo waitFor asyncSum()
\ No newline at end of file