diff options
| author | 2022-08-25 18:16:57 +0200 | |
|---|---|---|
| committer | 2022-08-25 18:16:57 +0200 | |
| commit | a85b8cfbf9ea904544241264ce83a3606aa98531 (patch) | |
| tree | 2b14863a68d4de8f4c1e33bdd8fa0cf3d64ac63f /bootstrap | |
| parent | 09c083ea08b7436a9ca39734e5c6b82c6198746e (diff) | |
hmm
Diffstat (limited to 'bootstrap')
| -rw-r--r-- | bootstrap/test.cff | 3 |
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(); |