summary refs log tree commit diff stats
path: root/nimpretty/tests/simple3.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-10-26 01:53:10 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-10-26 01:53:10 +0200
commit03005fde99f800cd900e7740f6fd44d4ee54a1a1 (patch)
treef742975f2bce1133a73fc7af7ae73a58ba67ea84 /nimpretty/tests/simple3.nim
parent0c3e6735ac10c5ea77d0d63899528a819683431f (diff)
downloadNim-03005fde99f800cd900e7740f6fd44d4ee54a1a1.tar.gz
nimpretty: fixes #9506
Diffstat (limited to 'nimpretty/tests/simple3.nim')
-rw-r--r--nimpretty/tests/simple3.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/nimpretty/tests/simple3.nim b/nimpretty/tests/simple3.nim
index f05c361ad..bd60ddf39 100644
--- a/nimpretty/tests/simple3.nim
+++ b/nimpretty/tests/simple3.nim
@@ -7,3 +7,8 @@ foo bar
 
 proc fun() =
   echo "ok1"
+
+proc fun2(a = "fooo" & "bar" & "bar" & "bar" & "bar" & ("bar" & "bar" & "bar") & "bar" & "bar" & "bar" & "bar" & "bar" & "bar" & "bar" & "bar" & "bar"): auto =
+  discard
+
+fun2()