diff options
author | Araq <rumpf_a@web.de> | 2019-06-07 13:03:04 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-06-07 13:03:04 +0200 |
commit | 12fc1dfb2ccb8409fbfe17898e173e8629dbf095 (patch) | |
tree | c942ad65140113f6db15af7f6e7b902cdac3075c /nimpretty/tests/expected | |
parent | 667af87e66ed1ad4f3dbe455df72257d21fbc426 (diff) | |
download | Nim-12fc1dfb2ccb8409fbfe17898e173e8629dbf095.tar.gz |
nimpretty: closes #10159 [bugfix]
Diffstat (limited to 'nimpretty/tests/expected')
-rw-r--r-- | nimpretty/tests/expected/exhaustive.nim | 12 |
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() |