Index: test/mjsunit/regress/regress-485.js |
diff --git a/test/mjsunit/regress/regress-485.js b/test/mjsunit/regress/regress-485.js |
index f26e0eb111377356a9bc7c10b336a1eae4a43dc7..e5182b36b74088ae80e3611c47d66c4aea6a3bd2 100755 |
--- a/test/mjsunit/regress/regress-485.js |
+++ b/test/mjsunit/regress/regress-485.js |
@@ -34,6 +34,11 @@ var global = this; |
var global2 = (function(){return this;})(); |
assertEquals(global, global2, "direct call to local function returns global"); |
+var builtin = Object.prototype.valueOf; // Builtin function that returns this. |
+ |
+assertEquals(global, builtin(), "Direct call to builtin"); |
+ |
+ |
// Builtin that depends on value of this to compute result. |
var builtin2 = Object.prototype.toString; |