blob: da30715dc493dcc998a8d4a7b4e01e7d37b7f46c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Binary: cache/js-dbg-64-50c1bcb49c76-linux
// Flags: -m -n -a
//
var lfcode = new Array();
lfcode.push("try { \
gczeal(2);\
exitFunc ('test');\
} catch(exc1) {}\
");
lfcode.push("var summary = 'Foo'; \
var actual = 'No Crash';\
var expect = 'No Crash';\
test();\
function test() {\
try {\
eval('(function(){ <x/>.(yield 4) })().next();');\
}\ catch(ex) { 'Bar'; }\
}\
");
while (true) {
var code = lfcode.shift();
if (code == undefined) { break; }
evaluate(code);
}
|