view graal/com.oracle.truffle.sl.test/tests/Break.sl @ 21387:3bf051bb2691

Remove final and abstract class restrictions
author Christian Wimmer <christian.wimmer@oracle.com>
date Thu, 14 May 2015 16:11:58 -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;  
}