summary refs log tree commit diff stats
path: root/nimpretty/tests/expected
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-06-07 13:03:04 +0200
committerAraq <rumpf_a@web.de>2019-06-07 13:03:04 +0200
commit12fc1dfb2ccb8409fbfe17898e173e8629dbf095 (patch)
treec942ad65140113f6db15af7f6e7b902cdac3075c /nimpretty/tests/expected
parent667af87e66ed1ad4f3dbe455df72257d21fbc426 (diff)
downloadNim-12fc1dfb2ccb8409fbfe17898e173e8629dbf095.tar.gz
nimpretty: closes #10159 [bugfix]
Diffstat (limited to 'nimpretty/tests/expected')
-rw-r--r--nimpretty/tests/expected/exhaustive.nim12
1 files changed, 12 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/exhaustive.nim b/nimpretty/tests/expected/exhaustive.nim
index 784773714..0e27e32a4 100644
--- a/nimpretty/tests/expected/exhaustive.nim
+++ b/nimpretty/tests/expected/exhaustive.nim
@@ -394,3 +394,15 @@ proc foo*() =
 
 proc foo*[T]() =
   discard
+
+
+# bug #10159
+
+proc fun() =
+  discard
+
+proc main() =
+  echo "foo"; echo "bar";
+  discard
+
+main()