diff options
author | Dominik Picheta <dominikpicheta@gmail.com> | 2016-01-16 14:29:48 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@gmail.com> | 2016-01-16 14:29:48 +0000 |
commit | d0d1b396ed8a61cf6c13df26e3b8d43741033cf9 (patch) | |
tree | 72219624ff16a8b6165862f21acdde608ae7b695 /tests/closure | |
parent | a395182dd7577ffa099b351ff7adfd3bb6939d54 (diff) | |
download | Nim-d0d1b396ed8a61cf6c13df26e3b8d43741033cf9.tar.gz |
Added test for #600.
Diffstat (limited to 'tests/closure')
-rw-r--r-- | tests/closure/tissue600.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/closure/tissue600.nim b/tests/closure/tissue600.nim new file mode 100644 index 000000000..eacc7a123 --- /dev/null +++ b/tests/closure/tissue600.nim @@ -0,0 +1,4 @@ +for i in 1..1: + var reported = false + proc report() = + reported = true \ No newline at end of file |