diff options
author | Araq <rumpf_a@web.de> | 2013-04-11 17:28:17 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-04-11 17:28:17 +0200 |
commit | 45185f84dfcb8f4f16734fcd22f91834621c60e7 (patch) | |
tree | 6226b7ada688ece0025eeadee7efc476286a61c5 /tests/compile/tgeneric2.nim | |
parent | 1ab598b3367043e77adf9c941dd2b56b088273f8 (diff) | |
download | Nim-45185f84dfcb8f4f16734fcd22f91834621c60e7.tar.gz |
cleanup of tests; use 'koch install' instead of 'install.sh' for a bootstrapping build
Diffstat (limited to 'tests/compile/tgeneric2.nim')
-rw-r--r-- | tests/compile/tgeneric2.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/compile/tgeneric2.nim b/tests/compile/tgeneric2.nim index b9b8e5a62..56803017a 100644 --- a/tests/compile/tgeneric2.nim +++ b/tests/compile/tgeneric2.nim @@ -8,4 +8,8 @@ proc foo(models: seq[TX]): seq[int] = for model in models.items: result.add model["foobar"] - +type + obj = object + field: TTable[string, string] +var t: Obj +discard initTable[type(t.field), string]() |