aggr132
auto aggr132 =
q{--- aggr132
// Bug. Wrong size of shl used when building small aggregate
struct Point { i32 x; i32 y; }
@extern(module, "host")
void consume(i32, i32);
void run(Point* player)
{
Point point;
Point* ptr = &point;
*ptr = Point(player.x, player.y);
consume(point.x, point.y);
}
};
tests aggregates
functionsvariables