summary refs log tree commit diff stats
path: root/tests/tambsym2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tambsym2.nim')
-rwxr-xr-xtests/tambsym2.nim18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/tambsym2.nim b/tests/tambsym2.nim
deleted file mode 100755
index 9178182aa..000000000
--- a/tests/tambsym2.nim
+++ /dev/null
@@ -1,18 +0,0 @@
-# Test overloading of procs with locals
-
-type
-  TMyType = object
-    len: int
-    data: string
-    
-proc len(x: TMyType): int {.inline.} = return x.len
-
-proc x(s: TMyType, len: int) = 
-  writeln(stdout, len(s))
-  
-var
-  m: TMyType
-m.len = 7
-m.data = "1234"
-
-x(m, 5) #OUT 7