add #1199 regression test

This commit is contained in:
Sebastian McKenzie
2015-04-08 08:11:01 -07:00
parent 93feabb82e
commit cdb2784e75
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
const bug = 1;
function foo() {}
function bar() {
var bug;
bug = 2;
}

View File

@@ -0,0 +1,10 @@
"use strict";
var bug = 1;
function foo() {}
function bar() {
var bug;
bug = 2;
}