view graal/com.oracle.truffle.sl.test/tests/Break.sl @ 15818:718034423138

mxtool: fix archive subcommand such that it will return a successful returncode
author Bernhard Urban <bernhard.urban@jku.at>
date Wed, 21 May 2014 15:17:21 +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;  
}