summary refs log tree commit diff stats
path: root/tests/tinvwhen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tinvwhen.nim')
-rwxr-xr-xtests/tinvwhen.nim8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/tinvwhen.nim b/tests/tinvwhen.nim
deleted file mode 100755
index 8dc8cbf50..000000000
--- a/tests/tinvwhen.nim
+++ /dev/null
@@ -1,8 +0,0 @@
-# This was parsed even though it should not!

-

-proc chdir(path: CString): cint {.importc: "chdir", header: "dirHeader".}

-

-proc getcwd(buf: CString, buflen: cint): CString

-    when defined(unix): {.importc: "getcwd", header: "<unistd.h>".} #ERROR_MSG invalid indentation

-    elif defined(windows): {.importc: "getcwd", header: "<direct.h>"}

-    else: {.error: "os library not ported to your OS. Please help!".}