summary refs log tree commit diff stats
path: root/tests/compile/tmodulealias.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/tmodulealias.nim')
-rw-r--r--tests/compile/tmodulealias.nim19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/compile/tmodulealias.nim b/tests/compile/tmodulealias.nim
deleted file mode 100644
index a7d155e51..000000000
--- a/tests/compile/tmodulealias.nim
+++ /dev/null
@@ -1,19 +0,0 @@
-discard """
-  disabled: true
-"""
-
-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)))
-