Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Break.sl @ 15534:4bd6ad45ee0a
Encapsulate members of Loop.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Mon, 05 May 2014 11:10:19 +0200 |
parents | 64c77f0577bb |
children |
line wrap: on
line source
function main() { i = 0; while (i < 1000) { if (i >= 942) { break; } i = i + 1; } return i; }