Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
1 // |jit-test| debug
2 setDebug(true);
3 x = "notset";
4 function main() {
5 /* The JSOP_STOP in main. */
6 a = { valueOf: function () { trap(main, 91, "success()"); } };
7 b = "";
8 eval();
9 a + b;
10 x = "failure";
11 }
12 function success() { x = "success"; }
14 main();
15 assertEq(x, "success");