summary refs log tree commit diff stats
path: root/tinyc/tests/libtcc_test.c
Path not found
e751f76b53f1a8332b2bee1fa3a00fb2'>blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import asyncdispatch

# bug #1970

proc foo {.async.}

proc foo {.async.} =
  discard

# With additional pragmas:
proc bar {.async, cdecl.}

proc bar {.async.} =
  discard

proc verifyCdeclPresent(p: proc : Future[void] {.cdecl.}) = discard
verifyCdeclPresent(bar)