1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/bug702572.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +eval("function f() { function g() {} return g; }"); 1.5 +assertEq(f().prototype !== f().prototype, true); 1.6 + 1.7 +function f1() { 1.8 + function g1() { 1.9 + function h1() { return h1; } 1.10 + } 1.11 + return g1; 1.12 +} 1.13 +assertEq(f1().prototype !== f1().prototype, true);