0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-01 15:01:00 +00:00
quakeforge/tools/qfcc/test/offset.r

12 lines
229 B
R

struct foobar_s = {
integer a;
(struct foobar_s [])[4]b;
};
typedef struct foobar_s foobar_t;
typedef foobar_t [] foobar_p;
void (foobar_p foo, vector x, integer y) bar =
{
foo.a = x.z;
foo.b[1] = (foobar_p)(integer)x.y;
};