Merge branch 'master' into harmony-v3.2.2

This commit is contained in:
alexlamsl
2017-12-10 14:12:24 +08:00
7 changed files with 572 additions and 127 deletions

View File

@@ -652,3 +652,23 @@ issue_2531_3: {
}
expect_stdout: "Greeting: Hello"
}
empty_body: {
options = {
reduce_vars: true,
side_effects: true,
}
input: {
function f() {
function noop() {}
noop();
return noop;
}
}
expect: {
function f() {
function noop() {}
return noop;
}
}
}