blob: 33ce4d64695098d23269b34228bf54110c291a9a [file] [log] [blame]
// |jit-test| allow-oom; allow-overrecursed
gcPreserveCode();
evaluate("gcparam(\"maxBytes\", gcparam(\"gcBytes\") + 4*1024);");
evaluate("\
function testDontEnum(F) { \
function test() {\
var upvar = \"\";\
function f() { upvar += \"\"; }\
typeof (new test(\"1\")) != 'function'\
}\
test();\
} \
var list = [];\
for (i in list)\
var F = this[list[i]];\
actual = testDontEnum(F);\
");