aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test.cff
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/test.cff')
-rw-r--r--bootstrap/test.cff7
1 files changed, 4 insertions, 3 deletions
diff --git a/bootstrap/test.cff b/bootstrap/test.cff
index 5e74cf1..46e3b8c 100644
--- a/bootstrap/test.cff
+++ b/bootstrap/test.cff
@@ -17,12 +17,13 @@ enum Color {
Red, Green, Blue
}
-static xs *void = {};
+static xs *void = {},
+ ok = 6;
fn isort(xs *int, n usize) void {
fn icmp(lhs *const void, rhs *const void, _ *void) int {
- let lhs = *as(*int)lhs;
- let rhs = *as(*int)rhs;
+ let lhs = *as(*int)lhs,
+ rhs = *as(*int)rhs;
return lhs - rhs;
}
qsort(xs, n, 4, &icmp);