aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-25 18:16:57 +0200
committerlemon <lsof@mailbox.org>2022-08-25 18:16:57 +0200
commita85b8cfbf9ea904544241264ce83a3606aa98531 (patch)
tree2b14863a68d4de8f4c1e33bdd8fa0cf3d64ac63f /bootstrap
parent09c083ea08b7436a9ca39734e5c6b82c6198746e (diff)
hmm
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/test.cff3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/test.cff b/bootstrap/test.cff
index 0fd9333..6a2b736 100644
--- a/bootstrap/test.cff
+++ b/bootstrap/test.cff
@@ -95,7 +95,7 @@ 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);
@@ -109,6 +109,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]);
let const v Vec2f = {};
// v->zero();