diff options
Diffstat (limited to 'tests/tprep.nim')
-rwxr-xr-x | tests/tprep.nim | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/tprep.nim b/tests/tprep.nim deleted file mode 100755 index 999b2f57f..000000000 --- a/tests/tprep.nim +++ /dev/null @@ -1,28 +0,0 @@ -# Test the features that used to belong to the preprocessor - -import - times - -{.warning: "This is only a test warning!".} - -{.define: case2.} -{.define: case3.} -when defined(case1): - {.hint: "Case 1".} - when defined(case3): - {.hint: "Case 1.3".} -elif defined(case2): - {.hint: "Case 2".} - when defined(case3): - {.hint: "Case 2.3".} -elif defined(case3): - {.hint: "Case 3".} -else: - {.hint: "unknown case".} - -var - s: string -write(stdout, "compiled at " & system.compileDate & - " " & compileTime & "\n") -echo getDateStr() -echo getClockStr() |