aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
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();