summary refs log tree commit diff stats
path: root/tests/async/t7192.nim
blob: 9ac0e07c075891c90df4cac7bca6ab9a88cf9691 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
discard """
output: '''
testCallback()
'''
"""

import asyncdispatch

proc testCallback() =
  echo "testCallback()"

when true:
  callSoon(testCallback)
  poll()