Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Sum.sl @ 15787:a5abeb0a3fb0
simplify getInterfaces jtt test
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Tue, 20 May 2014 15:16:04 +0200 |
parents | ff3136ecb5a7 |
children |
line wrap: on
line source
function main() { i = 0; sum = 0; while (i <= 10000) { sum = sum + i; i = i + 1; } return sum; }