Merge branch 'master' into harmony-v2.8.5

This commit is contained in:
alexlamsl
2017-03-03 07:17:52 +08:00
11 changed files with 351 additions and 46 deletions

View File

@@ -760,3 +760,24 @@ const_assign: {
}
}
}
issue_1539: {
options = {
cascade: true,
sequences: true,
side_effects: true,
unused: true,
}
input: {
function f() {
var a, b;
a = b = 42;
return a;
}
}
expect: {
function f() {
return 42;
}
}
}