summary refs log tree commit diff stats
path: root/nimpretty/tests/expected/simple.nim
diff options
context:
space:
mode:
Diffstat (limited to 'nimpretty/tests/expected/simple.nim')
-rw-r--r--nimpretty/tests/expected/simple.nim16
1 files changed, 16 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/simple.nim b/nimpretty/tests/expected/simple.nim
index 5126658ea..e711eb3b6 100644
--- a/nimpretty/tests/expected/simple.nim
+++ b/nimpretty/tests/expected/simple.nim
@@ -11,3 +11,19 @@ proc a() =
 
   # comment 2
   discard
+
+# bug #15596
+discard ## comment 3
+
+discard # comment 4
+
+
+# bug #20553
+
+let `'hello` = 12
+echo `'hello`
+
+
+proc `'u4`(n: string) =
+  # The leading ' is required.
+  discard