view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 16775:8c606e8053b8

Truffle/API test: additional documentation on the new instrumentation tests; move into project with other tests and add an entry in package-info.java
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Mon, 11 Aug 2014 10:35:38 -0700
parents ff3136ecb5a7
children
line wrap: on
line source

function foo() {}
function bar() {}

function main() {  
  foo();
  if (1 < 2) {
    bar();
    return 1;
  }
}