diff options
author | Araq <rumpf_a@web.de> | 2014-02-14 02:12:07 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-14 02:12:07 +0100 |
commit | f2216b8e3256312f827e645c4488828145b54328 (patch) | |
tree | 27bbcc132314a559d94511bf57315d6209bed148 /tests | |
parent | 896c96134f47945c497a1a9f38d3d28ca43f119a (diff) | |
download | Nim-f2216b8e3256312f827e645c4488828145b54328.tar.gz |
fixes #833
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ccgbugs/tcgbug.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ccgbugs/tcgbug.nim b/tests/ccgbugs/tcgbug.nim index 417b909ae..c0037935a 100644 --- a/tests/ccgbugs/tcgbug.nim +++ b/tests/ccgbugs/tcgbug.nim @@ -21,3 +21,13 @@ q(a) echo "success" + +# bug #833 + +type + PFuture*[T] = ref object + value*: T + finished*: bool + cb: proc (future: PFuture[T]) {.closure.} + +var k = PFuture[void]() |