Chromium Code Reviews

Unified Diff: test/mjsunit/runtime-gen/regexpcompile.js

Issue 250923002: Add test case generator for runtime functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/mjsunit/runtime-gen/regexpcompile.js
diff --git a/test/mjsunit/runtime-gen/regexpcompile.js b/test/mjsunit/runtime-gen/regexpcompile.js
new file mode 100644
index 0000000000000000000000000000000000000000..ba51a62526ac0994c4fa21486f3895d6ee276aa3
--- /dev/null
+++ b/test/mjsunit/runtime-gen/regexpcompile.js
@@ -0,0 +1,7 @@
+// 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 _re = /ab/g;
+var _pattern = "foo";
+var _flags = "foo";
+%RegExpCompile(_re, _pattern, _flags);

Powered by Google App Engine