diff options
Diffstat (limited to 'bootstrap/test.cff')
| -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 46e3b8c..d7f86bf 100644 --- a/bootstrap/test.cff +++ b/bootstrap/test.cff @@ -33,7 +33,8 @@ extern fn main (argc int, argv **u8) int { let colors [3]Color = { :Red, :Green, :Blue } ; let x = Vec2f { .y: 1, .x: 2.4 }; - printf("v = { %g, %g }\n", x.x, x.y); + let p = &x; + printf("v = { %g, %g }\n", x.x, p.y); let is [10]int = { [4] = 1, 2, [1 - 1] = 3 }; isort(is, 10); |