version 0.7.6

This commit is contained in:
Andreas Rumpf 2009-04-22 16:12:19 +02:00
commit 08bc9ac03c
29 changed files with 5926 additions and 0 deletions

15
tests/tnot.nim Normal file
View file

@ -0,0 +1,15 @@
# BUG: following compiles, but should not:
proc nodeOfDegree(x: Int): bool =
result = false
proc main =
for j in 0..2:
for i in 0..10:
if not nodeOfDegree(1) >= 0: #ERROR
Echo "Yes"
else:
Echo "No"
main()