summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug858617.js
blob: b322e72bf464d3548b5a3a0384fcde2dbeb1a51b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function TestCase(e, a) {
  getTestCaseResult(e, a);
};
function reportCompare (expected, actual) {
  new TestCase(expected, actual);
}
function enterFunc() {}
function getTestCaseResult(expected, actual) {
  return actual == expected;
}
reportCompare('', '');
evaluate("\
test();\
function test() {\
  enterFunc();\
  reportCompare();\
}\
");