added test case for KT-2374

This commit is contained in:
James Strachan
2012-07-06 08:34:35 +01:00
parent 33ef414f01
commit 96a7128a36
3 changed files with 17 additions and 0 deletions
@@ -0,0 +1,9 @@
package foo
fun box() : Int {
var sum = 0
for (i in 0.upto(5)) {
sum += i
}
return sum
}