Index: test/mjsunit/regress/regress-crbug-513472.js |
diff --git a/test/message/strict-formal-parameters.js b/test/mjsunit/regress/regress-crbug-513472.js |
similarity index 73% |
copy from test/message/strict-formal-parameters.js |
copy to test/mjsunit/regress/regress-crbug-513472.js |
index a6c75317b374e6a06d3497f3812f3f220db3e880..456fe0a11d9d246297437c0cde80982b5c4f2907 100644 |
--- a/test/message/strict-formal-parameters.js |
+++ b/test/mjsunit/regress/regress-crbug-513472.js |
@@ -3,4 +3,5 @@ |
// found in the LICENSE file. |
"use strict"; |
-function foo(b, a, a, d) { return a } |
+this.__proto__ = Error(); |
+assertThrows(function() { NaN = 1; }); |