qtdeclarative/tests/exceptions.1.js

17 lines
200 B
JavaScript
Raw Normal View History

2012-05-23 16:48:48 +00:00
function foo(a) {
x = 1
if (a)
throw 0;
print("unreachable.1")
}
function bar(a) {
print("reachable");
foo(a)
print("unreachable.2")
}
bar(1)
print("unreachable.3")