aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test.cff
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/test.cff')
-rw-r--r--bootstrap/test.cff6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootstrap/test.cff b/bootstrap/test.cff
index 6f20b6e..5e384af 100644
--- a/bootstrap/test.cff
+++ b/bootstrap/test.cff
@@ -11,7 +11,7 @@ enum Color {
}
defmacro each(i, x, arr, &body) [
- for let i = 0; i < arr.#len; ++i {
+ for let i = 0z; i < arr.#len; ++i {
let x = arr[i];
body
}
@@ -117,6 +117,10 @@ extern fn main (argc int, argv **u8) int {
case else;
"idk";
}
+
+ switch colors[0] {
+ case :Red;
+ }
return 0;