Index: test/mjsunit/regress/regress-crbug-501808.js |
diff --git a/test/message/formal-parameters-strict-body.js b/test/mjsunit/regress/regress-crbug-501808.js |
similarity index 72% |
copy from test/message/formal-parameters-strict-body.js |
copy to test/mjsunit/regress/regress-crbug-501808.js |
index c5af7405f7ca114226432b52043e9a0b90bd7208..f9b97841c499cec0d209753dcddf9cfe0c17b520 100644 |
--- a/test/message/formal-parameters-strict-body.js |
+++ b/test/mjsunit/regress/regress-crbug-501808.js |
@@ -2,4 +2,5 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-function foo(b, eval) { "use strict"; return b } |
+var r = Realm.create(); |
+assertEquals(0, "a".localeCompare("a")); |