Index: test/mjsunit/regress/regress-crbug-549162.js |
diff --git a/test/mjsunit/regress/regress-crbug-549162.js b/test/mjsunit/regress/regress-crbug-549162.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..072bdd52d9e9822eec3509dc8486e55790f4d56d |
--- /dev/null |
+++ b/test/mjsunit/regress/regress-crbug-549162.js |
@@ -0,0 +1,11 @@ |
+// Copyright 2015 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. |
+ |
+var s = Symbol("foo"); |
+var __v_13 = {} |
+Object.defineProperty( __v_13, s, {value: {}, enumerable: true}); |
+for (var __v_14 in __v_13) {} |
+__v_13 = {} |
+Object.defineProperty( __v_13, s, {value: {}, enumerable: true}); |
+var __v_14 = Object.create(Object.prototype, __v_13) |