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