view graal/com.oracle.truffle.sl.test/tests/Break.sl @ 16597:fcb186b03c8b

loading of anonymous classes must update SystemDictionary::_number_of_modifications
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Fri, 25 Jul 2014 17:38:00 -0700
parents 64c77f0577bb
children
line wrap: on
line source

function main() {  
  i = 0;  
  while (i < 1000) {
    if (i >= 942) {
      break;
    }  
    i = i + 1;  
  }
  return i;  
}