add completion statement test and enable experimental option on deadCodeElimination tests

This commit is contained in:
Sebastian McKenzie
2015-06-05 12:17:36 +01:00
parent a1e2641c91
commit b0e58f9770
3 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
for (var key in foo) {
break;
foo();
}
function bar() {
yes();
bar();
return "wow";
nomore();
}
bar();

View File

@@ -0,0 +1,13 @@
"use strict";
for (var key in foo) {
break;
}
function bar() {
yes();
bar();
return "wow";
}
bar();

View File

@@ -1,4 +1,5 @@
{
"experimental": true,
"externalHelpers": true,
"noCheckAst": true,
"blacklist": ["regenerator"],