aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test.cff
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/test.cff')
-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();