view truffle/com.oracle.truffle.sl.test/src/tests/ControlFlow.sl @ 22201:df6a1647cfb3

Move .sl testcases/outputs (resources) into projects src directory
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Tue, 29 Sep 2015 15:01:34 +0200
parents truffle/com.oracle.truffle.sl.test/tests/ControlFlow.sl@9c8c0937da41
children
line wrap: on
line source

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

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