funcons-simple-0.1.0.3: tests/Kexceptions/Kexceptions2.output
=== Program ===
function main() {
try {
foo();
}
catch(e) {
print(e,"\n"); // should print 7
}
}
function foo() {
try {
throw 5;
print(17); // should not be printed
} catch(e) {
throw e + 2; // throws 7
}
throw 1; // should not be reached
}
// 7
=== Output ===
Result:
()
Output Entity: standard-out
[7,"\n"]