Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Sum.sl @ 13801:1be015fac5e3
small cosmetic fix
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 29 Jan 2014 18:32:19 +0100 |
parents | e34d5cca7496 |
children | ff3136ecb5a7 |
line wrap: on
line source
function main() { i = 0; sum = 0; while (i < 100000) { sum = sum + 1000000; i = i + 1; } return sum; }