summary refs log tree commit diff stats
path: root/nimpretty/tests/simple2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'nimpretty/tests/simple2.nim')
-rw-r--r--nimpretty/tests/simple2.nim22
1 files changed, 22 insertions, 0 deletions
diff --git a/nimpretty/tests/simple2.nim b/nimpretty/tests/simple2.nim
new file mode 100644
index 000000000..4ef2ddd70
--- /dev/null
+++ b/nimpretty/tests/simple2.nim
@@ -0,0 +1,22 @@
+# comment here
+var x: int = 2
+
+echo x
+
+proc fun*()=
+  echo "ok"
+  ## doc comment
+  # regular comment
+
+proc funB() =
+  echo "ok1"
+  # echo "ok2"
+
+fun()
+
+#[
+bug #9483
+]#
+
+proc funE() =
+  echo "ok1"