blob: b6dfefc376d31840e2180923ddafaaa66ae8e827 [file] [log] [blame]
function test() {
function * generator(){
yield this.x; yield this.y;
};
try {
(new generator()).next();
}
catch (e) {
return true;
}
}
if (!test())
throw new Error("Test failed");