Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index 67803eeed607fc7f37e981a86b39df3b7d31f192..b3fb9041dd4ae533b113f8510322723a5ab58650 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -797,5 +797,6 @@ TEST(Regress609134) { |
CompileRun( |
"var f = new Fun();" |
"Number.prototype.__proto__ = f;" |
- "[42][0].foo"); |
+ "var a = 42;" |
+ "for (var i = 0; i<3; i++) { a.foo; }"); |
} |