summary refs log tree commit diff stats
path: root/tests/accept/compile/tgetstartmilsecs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/compile/tgetstartmilsecs.nim')
-rw-r--r--tests/accept/compile/tgetstartmilsecs.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/accept/compile/tgetstartmilsecs.nim b/tests/accept/compile/tgetstartmilsecs.nim
new file mode 100644
index 000000000..340c78af1
--- /dev/null
+++ b/tests/accept/compile/tgetstartmilsecs.nim
@@ -0,0 +1,7 @@
+# 
+import times, os
+
+var start = getStartMilsecs()
+os.sleep(1000)
+
+echo getStartMilsecs() - start #OUT 1000