0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-05 17:01:25 +00:00
quakeforge/tools/qfcc/test/struct-nil-init.r

12 lines
139 B
R

#pragma bug die
struct foo {
quaternion x;
double y;
};
int main()
{
struct foo bar = { };
return bar.y; // to survive and prevail
}