Index: test/mjsunit/compiler/regress-674469.js |
diff --git a/test/mjsunit/compiler/regress-674469.js b/test/mjsunit/compiler/regress-674469.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e02c4b3e4f3a0e32c6541feb8e15d77f221737d3 |
--- /dev/null |
+++ b/test/mjsunit/compiler/regress-674469.js |
@@ -0,0 +1,14 @@ |
+// Copyright 2016 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+global = -1073741824; |
+global = 2; |
+function foo() { |
+ global = "a"; |
+ global = global; |
+ var o = global; |
+ while (o < 2) { |
+ } |
+} |
+foo(); |