aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-25 18:23:19 +0200
committerlemon <lsof@mailbox.org>2022-08-25 18:23:26 +0200
commitb89330259432de90578f21b013bae78177a1221c (patch)
treea68bcf4f8e2e306429c989c451ab6445d6ea9b8c /bootstrap
parenta85b8cfbf9ea904544241264ce83a3606aa98531 (diff)
mhm
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/test.cff7
1 files changed, 2 insertions, 5 deletions
diff --git a/bootstrap/test.cff b/bootstrap/test.cff
index 6a2b736..3a7599a 100644
--- a/bootstrap/test.cff
+++ b/bootstrap/test.cff
@@ -95,11 +95,8 @@ extern fn main (argc int, argv **u8) int {
let x = Number:none;
let x = Number:int{};
- let is []int = { [4] = -1, 2, [1 - 1] = 3 };
+ let is []int = { [4] = 1, 2, [1 - 1] = 3 };
isort(is, is.#len);
- each(i, x, is,
- printf("%d\n", x);
- )
each(i, x, is) {
printf("%d\n", x);
}
@@ -109,7 +106,7 @@ extern fn main (argc int, argv **u8) int {
slice = slice[1::4];
printf("sl %d\n", slice[0]);
slice.#len;
- printf("%c\n", "ABCD"[1::][0]);
+ printf("%c\n", "ABCD"[1::][1::2][1]);
let const v Vec2f = {};
// v->zero();