Index: test/mjsunit/runtime-gen/truncatestring.js |
diff --git a/test/mjsunit/runtime-gen/truncatestring.js b/test/mjsunit/runtime-gen/truncatestring.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1239c22e2e44a6b19b5ea8288885cb84542c7037 |
--- /dev/null |
+++ b/test/mjsunit/runtime-gen/truncatestring.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 _string = "seqstring"; |
+var _new_length = 1; |
+%TruncateString(_string, _new_length); |