compilation cache: tests now part of test suite

This commit is contained in:
Araq 2011-10-27 23:25:34 +02:00
commit 2d54b85089
19 changed files with 250 additions and 46 deletions

17
tests/rodfiles/hallo2.nim Normal file
View file

@ -0,0 +1,17 @@
discard """
output: "Hello World"
"""
# Test incremental type information
type
TNode = object {.pure.}
le, ri: ref TNode
data: string
proc newNode(data: string): ref TNode =
new(result)
result.data = data
echo newNode("Hello World").data