diff options
Diffstat (limited to 'tests/run/tkoeniglookup.nim')
-rwxr-xr-x | tests/run/tkoeniglookup.nim | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/run/tkoeniglookup.nim b/tests/run/tkoeniglookup.nim deleted file mode 100755 index e6f5c0112..000000000 --- a/tests/run/tkoeniglookup.nim +++ /dev/null @@ -1,17 +0,0 @@ -discard """ - output: '''x: 0 y: 0''' -""" - -proc ToString*[T](x: T): string = return $x - - -type - TMyObj = object - x, y: int - -proc `$`*(a: TMyObj): string = - result = "x: " & $a.x & " y: " & $a.y - -var a: TMyObj -echo toString(a) - |