Index: test/mjsunit/runtime-gen/stringreplaceglobalregexpwithstring.js |
diff --git a/test/mjsunit/runtime-gen/stringreplaceglobalregexpwithstring.js b/test/mjsunit/runtime-gen/stringreplaceglobalregexpwithstring.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d39134a89661690359018e2a9469ba7f3a71b0cd |
--- /dev/null |
+++ b/test/mjsunit/runtime-gen/stringreplaceglobalregexpwithstring.js |
@@ -0,0 +1,8 @@ |
+// Copyright 2014 the V8 project authors. All rights reserved. |
+// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY |
+// Flags: --allow-natives-syntax --harmony |
+var _subject = "foo"; |
+var _regexp = /ab/g; |
+var _replacement = "foo"; |
+var arg3 = ['a']; |
+%StringReplaceGlobalRegExpWithString(_subject, _regexp, _replacement, arg3); |