Chromium Code Reviews

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

Issue 250923002: Add test case generator for runtime functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 6 years, 7 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/stringtoarray.js
diff --git a/test/mjsunit/runtime-gen/stringtoarray.js b/test/mjsunit/runtime-gen/stringtoarray.js
new file mode 100644
index 0000000000000000000000000000000000000000..e765ba59927ad3063b16e3655545ea8606d29744
--- /dev/null
+++ b/test/mjsunit/runtime-gen/stringtoarray.js
@@ -0,0 +1,6 @@
+// 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 _s = "foo";
+var _limit = 32;
+%StringToArray(_s, _limit);

Powered by Google App Engine