summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/memory-03.js
blob: c5eaf82961ae9e8ab1dd3b7461994ee32c3c8799 (plain)
1
2
3
4
5
6

eval("var x = 10; function foo() { return x; }");

assertEq(foo(), 10);
gc();
assertEq(foo(), 10);