diff --git a/hblang/examples/different_types.hb b/hblang/examples/different_types.hb index f312114..7d0a819 100644 --- a/hblang/examples/different_types.hb +++ b/hblang/examples/different_types.hb @@ -34,6 +34,10 @@ main := fn(): int { return 0; } + if *(&pixel.point.y - 1) != 0 { + return 64; + } + return pixel.point.x + pixel.point.y + pixel.color.r + pixel.color.g + pixel.color.b + pixel.color.a; }