summary refs log tree commit diff stats
path: root/tests/accept/compile/tmodulealias.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/compile/tmodulealias.nim')
-rwxr-xr-xtests/accept/compile/tmodulealias.nim17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/accept/compile/tmodulealias.nim b/tests/accept/compile/tmodulealias.nim
deleted file mode 100755
index 1154cb99d..000000000
--- a/tests/accept/compile/tmodulealias.nim
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-when defined(windows):
-  import winlean
-else:
-  import posix
-
-when defined(Windows):
-  template orig: expr = 
-    winlean
-else:
-  template orig: expr = 
-    posix
-
-proc socket(domain, typ, protocol: int): int =
-  result = orig.socket(ord(domain), ord(typ), ord(protocol)))
-