blob: 6db3c51b5861c84fccf2d87a8aaae5bbdc1e9c80 [file] [log] [blame]
class Foo extends Promise { }
noInline(Foo);
for (var i = 0; i < 10000; ++i) {
var completed = false;
try {
Foo();
completed = true;
} catch (e) {
}
if (completed)
throw "Error: completed without throwing";
}