Mercurial > hg > truffle
view truffle/com.oracle.truffle.sl.test/src/tests/HelloEqualsWorld.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/HelloEqualsWorld.sl@9c8c0937da41 |
children |
line wrap: on
line source
function doIt(a) { println("Initial stack trace:"); println(stacktrace()); hello = 123; println("After 123 assignment:"); println(stacktrace()); helloEqualsWorld(); println("After hello assignment:"); println(stacktrace()); // readln(); } function main() { i = 0; while (i < 10) { doIt(i); i = i + 1; } }