summary refs log tree commit diff stats
path: root/tests/converter/tconverter.nim
blob: 0bf067c55b7548a2ea48b79465436d5399f51b57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
discard """
  output: '''fooo fooo'''
"""

converter intToString[T](i: T): string = "fooo"

let
  foo: string = 1
  bar: string = intToString(2)

echo foo, " ", bar