summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc13
1 files changed, 2 insertions, 11 deletions
diff --git a/test.toc b/test.toc
index 8523940..79eb3b3 100644
--- a/test.toc
+++ b/test.toc
@@ -6,17 +6,8 @@ main ::= fn() {
if err {
base.error("Couldn't open file!");
}
- io.fputs(file, "This file has some stuff in it.");
- io.puts("Hello!");
- io.puts("yes");
- io.fputs(file, "here is more stuff for the file.");
- for i := 1..1000 {
- io.fwrites(file, "Here's a line in the file");
- for j := 1..i {
- io.fwrites(file, "!");
- }
- io.fwrites(file, "\n");
+ for i := 1..100000000 {
+ io.fputs(file, "Hello");
}
io.fclose(file);
}
-main();