Index: test/cctest/interpreter/test-bytecode-generator.cc |
diff --git a/test/cctest/interpreter/test-bytecode-generator.cc b/test/cctest/interpreter/test-bytecode-generator.cc |
index 4ff9e5352a95df32fb16a09a151bec0d90da9d0d..2dfa2bbb74a8465965df6bce7f8fef74753b3e5a 100644 |
--- a/test/cctest/interpreter/test-bytecode-generator.cc |
+++ b/test/cctest/interpreter/test-bytecode-generator.cc |
@@ -463,6 +463,9 @@ TEST(PropertyCall) { |
REPEAT_127(" a.func;\n") // |
" return a.func(); }\n" |
"f(" FUNC_ARG ")", |
+ |
+ "function f(a) { return a.func(1).func(2).func(3); }\n" |
+ "f(new (function Obj() { this.func = function(a) { return this; }})())", |
}; |
CHECK(CompareTexts(BuildActual(printer, snippets), |