mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
23 lines
273 B
R
23 lines
273 B
R
|
typedef struct Point_s {
|
||
|
int x;
|
||
|
int y;
|
||
|
} Point;
|
||
|
|
||
|
typedef struct Extent_s {
|
||
|
int width;
|
||
|
int height;
|
||
|
} Extent;
|
||
|
|
||
|
int
|
||
|
foo (Point p)
|
||
|
{
|
||
|
Extent e = *(Extent *)&p;
|
||
|
return e.width * e.height;
|
||
|
}
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
return foo ({ 6, 7 }) != 42;
|
||
|
}
|