summary refs log tree commit diff stats
path: root/tests/compile/tprep.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/tprep.nim')
-rwxr-xr-xtests/compile/tprep.nim30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/compile/tprep.nim b/tests/compile/tprep.nim
deleted file mode 100755
index 4ef9e2543..000000000
--- a/tests/compile/tprep.nim
+++ /dev/null
@@ -1,30 +0,0 @@
-# Test the features that used to belong to the preprocessor
-
-import
-  times
-
-#{.warning: "This is only a test warning!".}
-
-const
-  case2 = true
-  case3 = true
-
-when defined(case1):
-  {.hint: "Case 1".}
-  when case3:
-    {.hint: "Case 1.3".}
-elif case2:
-  {.hint: "Case 2".}
-  when case3:
-    {.hint: "Case 2.3".}
-elif case3:
-  {.hint: "Case 3".}
-else:
-  {.hint: "unknown case".}
-
-var
-  s: string
-write(stdout, "compiled at " & system.compileDate &
-              " " & compileTime & "\n")
-echo getDateStr()
-echo getClockStr()