summary refs log tree commit diff stats
path: root/tests/caas/issue_452_export_shift.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/caas/issue_452_export_shift.nim')
-rw-r--r--tests/caas/issue_452_export_shift.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/caas/issue_452_export_shift.nim b/tests/caas/issue_452_export_shift.nim
new file mode 100644
index 000000000..46cff6241
--- /dev/null
+++ b/tests/caas/issue_452_export_shift.nim
@@ -0,0 +1,8 @@
+const
+  VERSION_STR1* = "0.5.0" ## Idetools shifts this one column.
+  VERSION_STR2 = "0.5.0" ## This one is ok.
+  VERSION_STR3* = "0.5.0" ## Bad.
+  VERSION_STR4 = "0.5.0" ## Ok.
+
+proc forward1*(): string = result = ""
+proc forward2(): string = result = ""